mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
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
This commit is contained in:
parent
f9f71bae62
commit
9c6ea1f0c8
4 changed files with 27 additions and 7 deletions
22
ChangeLog
22
ChangeLog
|
@ -7,6 +7,28 @@
|
||||||
Added configurable boundary specifier, added the value as a
|
Added configurable boundary specifier, added the value as a
|
||||||
caps field as well.
|
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>
|
2004-06-01 Christophe Fergeau <teuf@gnome.org>
|
||||||
|
|
||||||
* ext/flac/gstflactag.c: strip ending framing bit from vorbiscomment
|
* ext/flac/gstflactag.c: strip ending framing bit from vorbiscomment
|
||||||
|
|
|
@ -155,7 +155,7 @@ gst_osxaudioelement_init (GstOsxAudioElement * osxaudio)
|
||||||
static void
|
static void
|
||||||
gst_osxaudioelement_dispose (GObject * object)
|
gst_osxaudioelement_dispose (GObject * object)
|
||||||
{
|
{
|
||||||
GstOsxAudioElement *osxaudio = (GstOsxAudioElement *) object;
|
/* GstOsxAudioElement *osxaudio = (GstOsxAudioElement *) object; */
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
@ -269,7 +269,6 @@ outputAudioDeviceIOProc (AudioDeviceID inDevice, const AudioTimeStamp * inNow,
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_osxaudioelement_open_audio (GstOsxAudioElement * osxaudio, gboolean input)
|
gst_osxaudioelement_open_audio (GstOsxAudioElement * osxaudio, gboolean input)
|
||||||
{
|
{
|
||||||
gint caps;
|
|
||||||
int i;
|
int i;
|
||||||
OSErr status;
|
OSErr status;
|
||||||
|
|
||||||
|
@ -386,7 +385,6 @@ gst_osxaudioelement_get_property (GObject * object,
|
||||||
OSStatus status;
|
OSStatus status;
|
||||||
int nDevices;
|
int nDevices;
|
||||||
UInt32 propertySize;
|
UInt32 propertySize;
|
||||||
int deviceid;
|
|
||||||
AudioDeviceID *devids;
|
AudioDeviceID *devids;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ gst_osxaudiosink_get_type (void)
|
||||||
static void
|
static void
|
||||||
gst_osxaudiosink_dispose (GObject * object)
|
gst_osxaudiosink_dispose (GObject * object)
|
||||||
{
|
{
|
||||||
GstOsxAudioSink *osxaudiosink = (GstOsxAudioSink *) object;
|
/* GstOsxAudioSink *osxaudiosink = (GstOsxAudioSink *) object; */
|
||||||
|
|
||||||
/*gst_object_unparent (GST_OBJECT (osxaudiosink->provided_clock)); */
|
/*gst_object_unparent (GST_OBJECT (osxaudiosink->provided_clock)); */
|
||||||
|
|
||||||
|
@ -158,7 +158,6 @@ gst_osxaudiosink_chain (GstPad * pad, GstData * _data)
|
||||||
guchar *data;
|
guchar *data;
|
||||||
guint to_write;
|
guint to_write;
|
||||||
gint amount_written;
|
gint amount_written;
|
||||||
gint delay;
|
|
||||||
|
|
||||||
/* this has to be an audio buffer */
|
/* this has to be an audio buffer */
|
||||||
osxaudiosink = GST_OSXAUDIOSINK (gst_pad_get_parent (pad));
|
osxaudiosink = GST_OSXAUDIOSINK (gst_pad_get_parent (pad));
|
||||||
|
|
|
@ -138,7 +138,7 @@ gst_osxaudiosrc_init (GstOsxAudioSrc * osxaudiosrc)
|
||||||
static void
|
static void
|
||||||
gst_osxaudiosrc_dispose (GObject * object)
|
gst_osxaudiosrc_dispose (GObject * object)
|
||||||
{
|
{
|
||||||
GstOsxAudioSrc *osxaudiosrc = (GstOsxAudioSrc *) object;
|
/* GstOsxAudioSrc *osxaudiosrc = (GstOsxAudioSrc *) object; */
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->dispose (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);
|
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) {
|
if (readbytes < 0) {
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
|
|
Loading…
Reference in a new issue