From e4180644b1ff351a3511e64fe1272a78ef9ac949 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 5 Jul 2005 11:08:56 +0000 Subject: [PATCH] Many files: Null if we got it.... Original commit message from CVS: 2005-07-05 Andy Wingo * Many files: Null if we got it.... --- ChangeLog | 4 ++++ ext/cdparanoia/gstcdparanoia.c | 1 - ext/gnomevfs/gstgnomevfssink.c | 2 -- ext/vorbis/vorbisenc.c | 2 -- gst-libs/gst/audio/gstaudiofilter.c | 2 -- gst-libs/gst/audio/gstaudiofiltertemplate.c | 2 -- gst/audioscale/gstaudioscale.c | 1 - gst/sine/gstsinesrc.c | 1 - gst/tcp/gsttcpclientsink.c | 2 -- gst/tcp/gsttcpclientsrc.c | 1 - gst/videotestsrc/gstvideotestsrc.c | 2 -- sys/v4l/gstv4lelement.c | 2 -- sys/v4l/gstv4lmjpegsink.c | 2 -- 13 files changed, 4 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index 512c247..40289d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-07-05 Andy Wingo + * Many files: Null if we got it.... + +2005-07-05 Andy Wingo + * gst/tcp/gsttcpserversink.c (gst_tcpserversink_handle_server_read): * gst/tcp/gstmultifdsink.c (gst_multifdsink_client_queue_data): Signedness fixes. diff --git a/ext/cdparanoia/gstcdparanoia.c b/ext/cdparanoia/gstcdparanoia.c index 6909b36..879d201 100644 --- a/ext/cdparanoia/gstcdparanoia.c +++ b/ext/cdparanoia/gstcdparanoia.c @@ -341,7 +341,6 @@ cdparanoia_set_property (GObject * object, guint prop_id, const GValue * value, { CDParanoia *src; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_CDPARANOIA (object)); src = CDPARANOIA (object); diff --git a/ext/gnomevfs/gstgnomevfssink.c b/ext/gnomevfs/gstgnomevfssink.c index 3c3280f..05918b2 100644 --- a/ext/gnomevfs/gstgnomevfssink.c +++ b/ext/gnomevfs/gstgnomevfssink.c @@ -312,7 +312,6 @@ gst_gnomevfssink_set_property (GObject * object, guint prop_id, { GstGnomeVFSSink *sink; - /* it's not null if we got it, but it might not be ours */ sink = GST_GNOMEVFSSINK (object); switch (prop_id) { @@ -375,7 +374,6 @@ gst_gnomevfssink_get_property (GObject * object, guint prop_id, GValue * value, { GstGnomeVFSSink *sink; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_GNOMEVFSSINK (object)); sink = GST_GNOMEVFSSINK (object); diff --git a/ext/vorbis/vorbisenc.c b/ext/vorbis/vorbisenc.c index c5778f4..709b4d2 100644 --- a/ext/vorbis/vorbisenc.c +++ b/ext/vorbis/vorbisenc.c @@ -972,7 +972,6 @@ gst_vorbisenc_get_property (GObject * object, guint prop_id, GValue * value, { VorbisEnc *vorbisenc; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_VORBISENC (object)); vorbisenc = GST_VORBISENC (object); @@ -1008,7 +1007,6 @@ gst_vorbisenc_set_property (GObject * object, guint prop_id, { VorbisEnc *vorbisenc; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_VORBISENC (object)); vorbisenc = GST_VORBISENC (object); diff --git a/gst-libs/gst/audio/gstaudiofilter.c b/gst-libs/gst/audio/gstaudiofilter.c index f54c62c..a1db633 100644 --- a/gst-libs/gst/audio/gstaudiofilter.c +++ b/gst-libs/gst/audio/gstaudiofilter.c @@ -260,7 +260,6 @@ gst_audiofilter_set_property (GObject * object, guint prop_id, { GstAudiofilter *src; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_AUDIOFILTER (object)); src = GST_AUDIOFILTER (object); @@ -277,7 +276,6 @@ gst_audiofilter_get_property (GObject * object, guint prop_id, GValue * value, { GstAudiofilter *src; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_AUDIOFILTER (object)); src = GST_AUDIOFILTER (object); diff --git a/gst-libs/gst/audio/gstaudiofiltertemplate.c b/gst-libs/gst/audio/gstaudiofiltertemplate.c index 508aa11..7ac84ef 100644 --- a/gst-libs/gst/audio/gstaudiofiltertemplate.c +++ b/gst-libs/gst/audio/gstaudiofiltertemplate.c @@ -179,7 +179,6 @@ gst_audiofilter_template_set_property (GObject * object, guint prop_id, { GstAudiofilterTemplate *src; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_AUDIOFILTER_TEMPLATE (object)); src = GST_AUDIOFILTER_TEMPLATE (object); @@ -196,7 +195,6 @@ gst_audiofilter_template_get_property (GObject * object, guint prop_id, { GstAudiofilterTemplate *src; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_AUDIOFILTER_TEMPLATE (object)); src = GST_AUDIOFILTER_TEMPLATE (object); diff --git a/gst/audioscale/gstaudioscale.c b/gst/audioscale/gstaudioscale.c index 1dffa61..124cab2 100644 --- a/gst/audioscale/gstaudioscale.c +++ b/gst/audioscale/gstaudioscale.c @@ -677,7 +677,6 @@ gst_audioscale_set_property (GObject * object, guint prop_id, Audioscale *src; gst_resample_t *r; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_AUDIOSCALE (object)); src = GST_AUDIOSCALE (object); r = &(src->gst_resample_template); diff --git a/gst/sine/gstsinesrc.c b/gst/sine/gstsinesrc.c index 737b725..7f54471 100644 --- a/gst/sine/gstsinesrc.c +++ b/gst/sine/gstsinesrc.c @@ -471,7 +471,6 @@ gst_sinesrc_get_property (GObject * object, guint prop_id, { GstSineSrc *src; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_SINESRC (object)); src = GST_SINESRC (object); diff --git a/gst/tcp/gsttcpclientsink.c b/gst/tcp/gsttcpclientsink.c index 4e3f5a8..dadeffa 100644 --- a/gst/tcp/gsttcpclientsink.c +++ b/gst/tcp/gsttcpclientsink.c @@ -269,7 +269,6 @@ gst_tcpclientsink_set_property (GObject * object, guint prop_id, { GstTCPClientSink *tcpclientsink; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_TCPCLIENTSINK (object)); tcpclientsink = GST_TCPCLIENTSINK (object); @@ -301,7 +300,6 @@ gst_tcpclientsink_get_property (GObject * object, guint prop_id, GValue * value, { GstTCPClientSink *tcpclientsink; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_TCPCLIENTSINK (object)); tcpclientsink = GST_TCPCLIENTSINK (object); diff --git a/gst/tcp/gsttcpclientsrc.c b/gst/tcp/gsttcpclientsrc.c index 8100164..ac70b09 100644 --- a/gst/tcp/gsttcpclientsrc.c +++ b/gst/tcp/gsttcpclientsrc.c @@ -333,7 +333,6 @@ gst_tcpclientsrc_set_property (GObject * object, guint prop_id, { GstTCPClientSrc *tcpclientsrc; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_TCPCLIENTSRC (object)); tcpclientsrc = GST_TCPCLIENTSRC (object); diff --git a/gst/videotestsrc/gstvideotestsrc.c b/gst/videotestsrc/gstvideotestsrc.c index 05cd45a..8677a71 100644 --- a/gst/videotestsrc/gstvideotestsrc.c +++ b/gst/videotestsrc/gstvideotestsrc.c @@ -691,7 +691,6 @@ gst_videotestsrc_set_property (GObject * object, guint prop_id, { GstVideotestsrc *videotestsrc; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_VIDEOTESTSRC (object)); videotestsrc = GST_VIDEOTESTSRC (object); @@ -719,7 +718,6 @@ gst_videotestsrc_get_property (GObject * object, guint prop_id, GValue * value, { GstVideotestsrc *videotestsrc; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_VIDEOTESTSRC (object)); videotestsrc = GST_VIDEOTESTSRC (object); diff --git a/sys/v4l/gstv4lelement.c b/sys/v4l/gstv4lelement.c index 30a1f0a..b766c17 100644 --- a/sys/v4l/gstv4lelement.c +++ b/sys/v4l/gstv4lelement.c @@ -441,7 +441,6 @@ gst_v4lelement_set_property (GObject * object, { GstV4lElement *v4lelement; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_V4LELEMENT (object)); v4lelement = GST_V4LELEMENT (object); @@ -464,7 +463,6 @@ gst_v4lelement_get_property (GObject * object, { GstV4lElement *v4lelement; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_V4LELEMENT (object)); v4lelement = GST_V4LELEMENT (object); diff --git a/sys/v4l/gstv4lmjpegsink.c b/sys/v4l/gstv4lmjpegsink.c index 5873f0e..b4713b9 100644 --- a/sys/v4l/gstv4lmjpegsink.c +++ b/sys/v4l/gstv4lmjpegsink.c @@ -335,7 +335,6 @@ gst_v4lmjpegsink_set_property (GObject * object, { GstV4lMjpegSink *v4lmjpegsink; - /* it's not null if we got it, but it might not be ours */ g_return_if_fail (GST_IS_V4LMJPEGSINK (object)); v4lmjpegsink = GST_V4LMJPEGSINK (object); @@ -366,7 +365,6 @@ gst_v4lmjpegsink_get_property (GObject * object, { GstV4lMjpegSink *v4lmjpegsink; - /* it's not null if we got it, but it might not be ours */ v4lmjpegsink = GST_V4LMJPEGSINK (object); switch (prop_id) { -- 2.7.4