summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Loeuillet <gstreamer@leroutier.net>2004-06-02 11:47:09 +0000
committerStéphane Loeuillet <gstreamer@leroutier.net>2004-06-02 11:47:09 +0000
commit9c6ea1f0c8165703270c0c6aeca195572074b351 (patch)
tree8d94bbd30231c3e5de0a5b945aba48683f95b0c0
parentf9f71bae628747c68455bb56f4ecc39fe88c4afc (diff)
zaheer :
Original commit message from CVS: zaheer : * gst/tcp/gsttcp.c: * gst/tcp/gsttcpclientsrc.c: * gst/tcp/gsttcpclientsrc.h: * gst/tcp/gsttcpserversrc.c: - portability fix, to compile on OSX (fixes #143146) * sys/osxaudio/gstosxaudioelement.c: * sys/osxaudio/gstosxaudiosink.c: * sys/osxaudio/gstosxaudiosrc.c: - compilation warnings on OSX (fixes #143153) me : * ext/vorbis/vorbisdec.c : sign warning fixes * gst-libs/gst/mixer/mixertrack.c : forgoten include to define newly used G_MAXINT32, bad owen, bad
-rw-r--r--ChangeLog22
-rw-r--r--sys/osxaudio/gstosxaudioelement.c4
-rw-r--r--sys/osxaudio/gstosxaudiosink.c3
-rw-r--r--sys/osxaudio/gstosxaudiosrc.c5
4 files changed, 27 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 9df6e4830..93b161349 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,28 @@
Added configurable boundary specifier, added the value as a
caps field as well.
+2004-06-02 Zaheer Abbas Merali <zaheerabbas@merali.org>
+
+ * gst/tcp/gsttcp.c:
+ * gst/tcp/gsttcpclientsrc.c:
+ * gst/tcp/gsttcpclientsrc.h:
+ * gst/tcp/gsttcpserversrc.c:
+ - portability fix, to compile on OSX
+ (fixes #143146)
+
+ * sys/osxaudio/gstosxaudioelement.c:
+ * sys/osxaudio/gstosxaudiosink.c:
+ * sys/osxaudio/gstosxaudiosrc.c:
+ - compilation warnings on OSX
+ (fixes #143153)
+
+2004-06-02 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
+
+ * ext/vorbis/vorbisdec.c : sign warning fixes
+
+ * gst-libs/gst/mixer/mixertrack.c : forgoten include
+ to define newly used G_MAXINT32, bad owen, bad
+
2004-06-01 Christophe Fergeau <teuf@gnome.org>
* ext/flac/gstflactag.c: strip ending framing bit from vorbiscomment
diff --git a/sys/osxaudio/gstosxaudioelement.c b/sys/osxaudio/gstosxaudioelement.c
index 9b3fa7d2c..351d2c535 100644
--- a/sys/osxaudio/gstosxaudioelement.c
+++ b/sys/osxaudio/gstosxaudioelement.c
@@ -155,7 +155,7 @@ gst_osxaudioelement_init (GstOsxAudioElement * osxaudio)
static void
gst_osxaudioelement_dispose (GObject * object)
{
- GstOsxAudioElement *osxaudio = (GstOsxAudioElement *) object;
+ /* GstOsxAudioElement *osxaudio = (GstOsxAudioElement *) object; */
G_OBJECT_CLASS (parent_class)->dispose (object);
}
@@ -269,7 +269,6 @@ outputAudioDeviceIOProc (AudioDeviceID inDevice, const AudioTimeStamp * inNow,
static gboolean
gst_osxaudioelement_open_audio (GstOsxAudioElement * osxaudio, gboolean input)
{
- gint caps;
int i;
OSErr status;
@@ -386,7 +385,6 @@ gst_osxaudioelement_get_property (GObject * object,
OSStatus status;
int nDevices;
UInt32 propertySize;
- int deviceid;
AudioDeviceID *devids;
int i;
diff --git a/sys/osxaudio/gstosxaudiosink.c b/sys/osxaudio/gstosxaudiosink.c
index 75d7ee2b3..ac9ea0111 100644
--- a/sys/osxaudio/gstosxaudiosink.c
+++ b/sys/osxaudio/gstosxaudiosink.c
@@ -96,7 +96,7 @@ gst_osxaudiosink_get_type (void)
static void
gst_osxaudiosink_dispose (GObject * object)
{
- GstOsxAudioSink *osxaudiosink = (GstOsxAudioSink *) object;
+ /* GstOsxAudioSink *osxaudiosink = (GstOsxAudioSink *) object; */
/*gst_object_unparent (GST_OBJECT (osxaudiosink->provided_clock)); */
@@ -158,7 +158,6 @@ gst_osxaudiosink_chain (GstPad * pad, GstData * _data)
guchar *data;
guint to_write;
gint amount_written;
- gint delay;
/* this has to be an audio buffer */
osxaudiosink = GST_OSXAUDIOSINK (gst_pad_get_parent (pad));
diff --git a/sys/osxaudio/gstosxaudiosrc.c b/sys/osxaudio/gstosxaudiosrc.c
index 41a2a36fc..0edb85063 100644
--- a/sys/osxaudio/gstosxaudiosrc.c
+++ b/sys/osxaudio/gstosxaudiosrc.c
@@ -138,7 +138,7 @@ gst_osxaudiosrc_init (GstOsxAudioSrc * osxaudiosrc)
static void
gst_osxaudiosrc_dispose (GObject * object)
{
- GstOsxAudioSrc *osxaudiosrc = (GstOsxAudioSrc *) object;
+ /* GstOsxAudioSrc *osxaudiosrc = (GstOsxAudioSrc *) object; */
G_OBJECT_CLASS (parent_class)->dispose (object);
}
@@ -154,7 +154,8 @@ gst_osxaudiosrc_get (GstPad * pad)
buf = gst_buffer_new_and_alloc ((GST_OSXAUDIOELEMENT (src))->buffer_len);
- readbytes = read_buffer (src, (char *) GST_BUFFER_DATA (buf));
+ readbytes =
+ read_buffer (GST_OSXAUDIOELEMENT (src), (char *) GST_BUFFER_DATA (buf));
if (readbytes < 0) {
gst_buffer_unref (buf);