gstreamer/ext
Tim-Philipp Müller f325935314 pulse, speexenc, rtpgsmpay: don't use g_assert() for error handling
Don't use g_assert() for error handling, even if they're highly unlikely.
Either we *know* that something can't happen, in which case we
should just not handle it, or we think something can happen, but it is
very very unlikely that it will ever happen, in which case we should
handle it like any other error instead of asserting.

g_assert() is best left for conditions we have control of, like checking
internal consistency of our code, not checking return values of external
code.

Fixes a bunch of warnings when compiling with -DG_DISABLE_ASSERT:
gstrtpgsmpay.c: In function 'gst_rtp_gsm_pay_handle_buffer':
gstrtpgsmpay.c:130:17: warning: variable 'rtpgsmpay' set but not used
gstspeexenc.c: In function 'gst_speex_enc_encode':
gstspeexenc.c:904:19: warning: variable 'written' set but not used
pulsesink.c: In function 'gst_pulsesink_change_state':
pulsesink.c:2725:9: warning: variable 'res' set but not used
pulsesrc.c: In function 'gst_pulsesrc_change_state':
pulsesrc.c:1253:7: warning: variable 'e' set but not used
2011-04-16 18:15:43 +01:00
..
aalib various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
annodex various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
cairo cairo: fix the name of the *-marshall.list file to unbreak make distcheck 2011-03-25 12:53:43 +02:00
dv dvdemux: Chain up to the parent class' ::send_event for non-seek events 2011-03-11 13:48:33 +01:00
esd various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
flac flacenc: Properly interprete the result of strcmp() 2011-04-13 16:17:41 +02:00
gconf switchsrc: Set the GST_ELEMENT_IS_SOURCE flag 2010-10-11 14:24:52 +02:00
gdk_pixbuf various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
hal various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
jack jack: fix unused-but-set-variable warnings with gcc-4.6 2011-04-16 13:33:45 +01:00
jpeg jpegenc: pulsesink: raw1394: Address unused but set variables 2011-04-16 13:13:04 +01:00
libcaca cacasink: fix masks and strides 2011-01-03 18:06:48 +01:00
libmng gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 14:32:00 +01:00
libpng pngdec: Handle 16-bit-per-channel images 2011-02-20 12:12:51 -08:00
mikmod various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
pulse pulse, speexenc, rtpgsmpay: don't use g_assert() for error handling 2011-04-16 18:15:43 +01:00
raw1394 jpegenc: pulsesink: raw1394: Address unused but set variables 2011-04-16 13:13:04 +01:00
shout2 various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
soup souphttpsrc: Add URI query handler 2011-02-15 09:44:01 +01:00
speex pulse, speexenc, rtpgsmpay: don't use g_assert() for error handling 2011-04-16 18:15:43 +01:00
taglib id3v2mux: Adds mapping for album artist 2010-09-08 17:07:53 -03:00
wavpack various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
Makefile.am jack: new jackaudiosrc and jackaudiosink elements, moved from gst-plugins-bad 2011-01-02 15:26:30 +00:00