summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gst/interleave/deinterleave.*: Queue events until src pads were added and ↵Sebastian Dröge2008-05-173-0/+94
| | | | | | | | | | | | they can be sent. Otherwise downstream will... Original commit message from CVS: * gst/interleave/deinterleave.c: (gst_deinterleave_finalize), (gst_deinterleave_init), (gst_deinterleave_sink_event), (gst_deinterleave_process), (gst_deinterleave_sink_activate_push): * gst/interleave/deinterleave.h: Queue events until src pads were added and they can be sent. Otherwise downstream will never get the first newsegment event.
* gst/interleave/deinterleave.c: Always set the channel positions when ↵Sebastian Dröge2008-05-171-20/+23
| | | | | | | | | | | | | | gst_audio_get_channel_positions() returns someth... Original commit message from CVS: * gst/interleave/deinterleave.c: (gst_deinterleave_sink_setcaps), (gst_deinterleave_getcaps): Always set the channel positions when gst_audio_get_channel_positions() returns something, even if they're not set in the caps. This makes sure that the output channels can be interleaved again correctly in the mono/stereo cases too. Don't ask for the peercaps of the current pad in getcaps() as this might call getcaps() again and deadlock.
* sys/v4l2/gstv4l2src.c: Don't include the gstv4l2xoverlay.h header as the ↵Sebastian Dröge2008-05-172-0/+46
| | | | | | | | | | XOverlay support isn't implemented at all ye... Original commit message from CVS: * sys/v4l2/gstv4l2src.c: Don't include the gstv4l2xoverlay.h header as the XOverlay support isn't implemented at all yet and this requires X headers to be installed. Fixes bug #533264.
* gst/interleave/: Add support for all raw audio formats and provide better ↵Sebastian Dröge2008-05-164-64/+379
| | | | | | | | | | | | | | | | | | | | | | | | negotiation if the caps are changing. Original commit message from CVS: * gst/interleave/Makefile.am: * gst/interleave/deinterleave.c: (deinterleave_24), (gst_deinterleave_finalize), (gst_deinterleave_base_init), (gst_deinterleave_class_init), (gst_deinterleave_init), (gst_deinterleave_add_new_pads), (gst_deinterleave_set_pads_caps), (gst_deinterleave_set_process_function), (gst_deinterleave_sink_setcaps), (__remove_channels), (__set_channels), (gst_deinterleave_getcaps), (gst_deinterleave_process), (gst_deinterleave_chain), (gst_deinterleave_sink_activate_push): * gst/interleave/deinterleave.h: Add support for all raw audio formats and provide better negotiation if the caps are changing. Don't allow changes of the channel positions and set the position of the corresponding channel on the src pad caps. General cleanup and smaller bugfixes. * tests/check/elements/deinterleave.c: (float_buffer_check_probe): Check the channel positions on the output buffer caps.
* Fix some compiler warnings.Jan Schmidt2008-05-165-1/+13
| | | | | | | | Original commit message from CVS: * ext/wavpack/gstwavpackstreamreader.c: * tests/examples/spectrum/demo-audiotest.c: * tests/examples/spectrum/demo-osssrc.c: Fix some compiler warnings.
* gst/rtp/gstrtph264depay.c: Small comment added.Wim Taymans2008-05-144-101/+167
| | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_process): Small comment added. * gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_class_init), (gst_rtp_h264_pay_decode_nal), (gst_rtp_h264_pay_parse_sps_pps), (gst_rtp_h264_pay_payload_nal), (gst_rtp_h264_pay_handle_buffer): Debug string cleanups (remove trailing \n) Refactor and clean up the payloader a bit and make sure that we only put one NAL unit in an RTP packet even if the input buffer contains multiple NAL units. Add suport for AVC format input.
* gst/rtp/gstrtph264pay.*: Make it possible to specify profile-level-id and ↵Peter Kjellerstedt2008-05-144-7/+108
| | | | | | | | | | | | sprop-parameter-sets using properties in ca... Original commit message from CVS: * gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_class_init), (gst_rtp_h264_pay_finalize), (gst_rtp_h264_pay_handle_buffer), (gst_rtp_h264_pay_set_property), (gst_rtp_h264_pay_get_property): * gst/rtp/gstrtph264pay.h: Make it possible to specify profile-level-id and sprop-parameter-sets using properties in case they are not available in-stream.
* tests/check/Makefile.am: Add deinterleave unit test to VALGRIND_TO_FIX, ↵Tim-Philipp Müller2008-05-141-0/+183
| | | | | | | | | | | | | | | | | since it causes weird invalid free errors in ... Original commit message from CVS: * tests/check/Makefile.am: Add deinterleave unit test to VALGRIND_TO_FIX, since it causes weird invalid free errors in valgrind/libc after _exit for some reason. * tests/check/elements/deinterleave.c: (pads_created), (set_channel_positions), (src_handoff_float32_8ch), (float_buffer_check_probe), (pad_added_setup_data_check_float32_8ch_cb), (make_fake_src_8chans_float32), (GST_START_TEST), (deinterleave_suite): Add some more deinterleave unit test bits I had locally.
* docs/plugins/: Remove ladspa fro plugin-docs, its in gst-plugins-bad.Stefan Kost2008-05-144-20677/+24
| | | | | | | | Original commit message from CVS: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins.args: * docs/plugins/inspect/plugin-ladspa.xml: Remove ladspa fro plugin-docs, its in gst-plugins-bad.
* gst/interleave/: Split definitions into separate header files for better ↵Sebastian Dröge2008-05-147-120/+567
| | | | | | | | | | | | | | | | | | | | | | | | | | documentation generation. Original commit message from CVS: * gst/interleave/Makefile.am: * gst/interleave/deinterleave.h: * gst/interleave/interleave.h: * gst/interleave/plugin.h: Split definitions into separate header files for better documentation generation. * gst/interleave/deinterleave.c: (gst_deinterleave_base_init), (gst_deinterleave_class_init), (gst_deinterleave_sink_setcaps), (gst_deinterleave_process): Don't use alloca, allow caps changes as long as the number of channels does not change, don't use g_warning, return NOT_NEGOTIATED as early as possible and some other cleanup. * gst/interleave/interleave.c: (gst_interleave_base_init), (gst_interleave_class_init): Do some random cleanup. * tests/check/Makefile.am: * tests/check/elements/deinterleave.c: (GST_START_TEST), (deinterleave_chain_func), (deinterleave_pad_added), (deinterleave_suite): Add unit tests for the deinterleave element.
* gst/avi/gstavimux.c: Send an initial BYTE segment to inform downstream of ↵Mark Nauwelaerts2008-05-132-0/+10
| | | | | | | | | later seeking, and to forego sync attempts. Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avi_mux_start_file): Send an initial BYTE segment to inform downstream of later seeking, and to forego sync attempts.
* gst/rtp/gstrtpg729depay.c: Fix wrong caps string.Wim Taymans2008-05-132-2/+7
| | | | | | Original commit message from CVS: * gst/rtp/gstrtpg729depay.c: (gst_rtp_g729_depay_setcaps): Fix wrong caps string.
* gst/rtp/: Added G729 pay and depayloaders. Fixes #532409.Olivier Crete2008-05-137-0/+537
| | | | | | | | | | | | | | | | | Original commit message from CVS: Based on patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpg729depay.c: (gst_rtp_g729_depay_base_init), (gst_rtp_g729_depay_class_init), (gst_rtp_g729_depay_init), (gst_rtp_g729_depay_setcaps), (gst_rtp_g729_depay_process), (gst_rtp_g729_depay_plugin_init): * gst/rtp/gstrtpg729depay.h: * gst/rtp/gstrtpg729pay.c: (gst_rtpg729pay_base_init), (gst_rtpg729pay_class_init), (gst_rtpg729pay_init), (gst_rtpg729pay_setcaps), (gst_rtp_g729_pay_plugin_init): * gst/rtp/gstrtpg729pay.h: Added G729 pay and depayloaders. Fixes #532409.
* ext/speex/gstspeexdec.c: Fix the calculation of the duration of the ↵Wim Taymans2008-05-132-1/+6
| | | | | | | | concealment packets. Original commit message from CVS: * ext/speex/gstspeexdec.c: (speex_dec_sink_event): Fix the calculation of the duration of the concealment packets.
* gst/rtp/: Add DV pay and depayloaders. Fixes #532423.Olivier Crete2008-05-127-0/+973
| | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: Based on patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpdvdepay.c: (gst_rtp_dv_depay_base_init), (gst_rtp_dv_depay_class_init), (gst_rtp_dv_depay_init), (parse_encode), (gst_rtp_dv_depay_setcaps), (calculate_difblock_location), (gst_rtp_dv_depay_process), (gst_rtp_dv_depay_reset), (gst_rtp_dv_depay_change_state), (gst_rtp_dv_depay_plugin_init): * gst/rtp/gstrtpdvdepay.h: * gst/rtp/gstrtpdvpay.c: (gst_dv_pay_mode_get_type), (gst_rtp_dv_pay_base_init), (gst_rtp_dv_pay_class_init), (gst_rtp_dv_pay_init), (gst_dv_pay_set_property), (gst_dv_pay_get_property), (gst_rtp_dv_pay_setcaps), (gst_dv_pay_negotiate), (include_dif), (gst_rtp_dv_pay_handle_buffer), (gst_rtp_dv_pay_plugin_init): * gst/rtp/gstrtpdvpay.h: Add DV pay and depayloaders. Fixes #532423.
* gst/matroska/matroska-demux.c: Convert subtitle palette info in VobSub ↵Mark Nauwelaerts2008-05-122-2/+20
| | | | | | | | | | private data from VobSub's (buggy) RGB to YUV. Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_push_dvd_clut_change_event): Convert subtitle palette info in VobSub private data from VobSub's (buggy) RGB to YUV.
* gst/avi/gstavimux.c: Do not leave fourcc stream header field empty upon reset.Mark Nauwelaerts2008-05-123-2/+8
| | | | | | | Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avi_mux_pad_reset): Do not leave fourcc stream header field empty upon reset. Fixes #519301.
* Add goom2k1 into the docs.Jan Schmidt2008-05-118-11/+72
| | | | | | | | | | | Original commit message from CVS: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/inspect/plugin-goom.xml: * docs/plugins/inspect/plugin-goom2k1.xml: * gst/goom/gstgoom.c: * gst/goom2k1/gstgoom.c: Add goom2k1 into the docs.
* gst/rtsp/gstrtspsrc.c: Support Digest authentication. Fixes #532065.Wouter Cloetens2008-05-082-6/+139
| | | | | | | | | | | | Original commit message from CVS: Based on patch by: Wouter Cloetens <wouter at mind be> * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init), (gst_rtspsrc_skip_lws), (gst_rtspsrc_unskip_lws), (gst_rtspsrc_skip_commas), (gst_rtspsrc_skip_item), (gst_rtsp_decode_quoted_string), (gst_rtspsrc_parse_digest_challenge), (gst_rtspsrc_parse_auth_hdr), (gst_rtspsrc_setup_auth): Support Digest authentication. Fixes #532065.
* gst/level/gstlevel.c: Also support 32bit (e.g. whe having it after 'mad'). ↵Stefan Kost2008-05-082-12/+36
| | | | | | | | | Add more notes about whats needed for libo... Original commit message from CVS: * gst/level/gstlevel.c: Also support 32bit (e.g. whe having it after 'mad'). Add more notes about whats needed for liboil acceleration. Simplify docs a bit.
* gst/matroska/matroska-mux.c: Update the track duration if the old one was ↵Sjoerd Simons2008-05-082-1/+9
| | | | | | | | | | invalid. Original commit message from CVS: Patch by: Sjoerd Simons <sjoerd at luon dot net> * gst/matroska/matroska-mux.c: (gst_matroska_mux_collected): Update the track duration if the old one was invalid. Fixes bug #532117.
* gst/rtp/gstrtph264pay.c (gst_rtp_h264_pay_parse_sps_pps): Use GST_STR_NULL ↵Ole André Vadla Ravnås2008-05-072-1/+7
| | | | | | | | | when trying to print sps and pps strings t... Original commit message from CVS: * gst/rtp/gstrtph264pay.c (gst_rtp_h264_pay_parse_sps_pps): Use GST_STR_NULL when trying to print sps and pps strings that could be NULL, as this might crash on some platforms.
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw): Do ↵Haakon Sporsheim2008-05-072-0/+11
| | | | | | | | | | IDirectDrawClipper_SetHWnd() if the window I... Original commit message from CVS: patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com> * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw): Do IDirectDrawClipper_SetHWnd() if the window ID has already been set after creating the clipper.
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame): Added ↵Haakon Sporsheim2008-05-072-1/+14
| | | | | | | | | | | checking of surface lost case after an uns... Original commit message from CVS: patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com> * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame): Added checking of surface lost case after an unsuccessful IDirectDrawSurface7_Lock() call. If surface is lost, return GST_FLOW_OK.
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame,Haakon Sporsheim2008-05-072-19/+34
| | | | | | | | | | | Original commit message from CVS: patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com> * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame, WndProc, gst_directdraw_sink_window_thread): Improved Windows message loop and fixed window destruction issue. When the window which DirectDraw is rendering to is destroyed, the render/show_frame function will return GST_FLOW_ERROR. Partially fixes #520885.
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps): Fixed mid ↵Haakon Sporsheim2008-05-072-0/+15
| | | | | | | | | | | stream resolution change bug, the offscr... Original commit message from CVS: patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com> * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps): Fixed mid stream resolution change bug, the offscreen surface is now released when set_caps is called. Partially fixes #520885.
* sys/directdraw/gstdirectdrawsink.cOle André Vadla Ravnås2008-05-072-5/+27
| | | | | | | | | | | | | | Original commit message from CVS: * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc): Make it so that gst_directdraw_sink_buffer_alloc uses the right width/height. Especially when looking through the pool of buffers, make sure that the width/height of caps is used instead of the already negotiated dimensions. For example if a buffer with different caps is requested, i.e. higher resolution, the caller would get a buffer with the old dimensions and thus corrupt the heap.
* sys/directdraw/gstdirectdrawsink.cOle André Vadla Ravnås2008-05-071-0/+1
| | | | | | | | | Original commit message from CVS: * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc): Clear the flags on recycled buffers from buffer_alloc. Partially fixes #520885. The right fix this time.
* sys/directdraw/gstdirectdrawsink.cOle André Vadla Ravnås2008-05-071-13/+5
| | | | | | | | Original commit message from CVS: * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc): Reverting previous commit, it had it all mixed up, was for a different patch (major automation screw-up). Sorry!
* sys/directdraw/gstdirectdrawsink.cOle André Vadla Ravnås2008-05-072-5/+20
| | | | | | | | Original commit message from CVS: * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc): Clear the flags on recycled buffers from buffer_alloc. Partially fixes #520885.
* gst/rtp/gstrtpilbcpay.c: Added missing stdlib.h include for strtol(), and ↵Ole André Vadla Ravnås2008-05-072-0/+6
| | | | | | | | | made include ordering and style consistent ... Original commit message from CVS: * gst/rtp/gstrtpilbcpay.c: Added missing stdlib.h include for strtol(), and made include ordering and style consistent with the corresponding depayloader.
* gst/rtp/gstrtpilbcpay.c: Added missing stdlib.h include for strtol(), and ↵Ole André Vadla Ravnås2008-05-071-2/+3
| | | | | | | | | made include ordering and style consistent ... Original commit message from CVS: * gst/rtp/gstrtpilbcpay.c: Added missing stdlib.h include for strtol(), and made include ordering and style consistent with the corresponding depayloader.
* configure.ac: Error out if we don't have the required core/base versions.Tim-Philipp Müller2008-05-072-5/+10
| | | | | | Original commit message from CVS: * configure.ac: Error out if we don't have the required core/base versions.
* sys/osxvideo/cocoawindow.m: Fix compiler warnings on PPC64. Fixes bug #499318.Thijs Vermeir2008-05-063-3/+10
| | | | | | | Original commit message from CVS: Patch by: Thijs Vermeir <thijsvermeir at gmail dot com> * sys/osxvideo/cocoawindow.m: Fix compiler warnings on PPC64. Fixes bug #499318.
* gst/rtsp/gstrtspsrc.c: Don't leak file descriptors on error. Fixes #531532.Sjoerd Simons2008-05-052-0/+11
| | | | | | | Original commit message from CVS: Patch by: Sjoerd Simons <sjoerd at luon dot net> * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init), (gst_rtspsrc_open): Don't leak file descriptors on error. Fixes #531532.
* ext/gconf/: When we can't create a fakesink/fakesrc complain instead of ↵Sebastian Dröge2008-05-035-9/+49
| | | | | | | | | | | | | | | | unreffing Original commit message from CVS: * ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_reset), (gst_gconf_audio_src_change_state): * ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_reset), (gst_gconf_video_sink_change_state): * ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_reset), (gst_gconf_video_src_change_state): * ext/gconf/gstswitchsink.c: (gst_switch_sink_reset), (gst_switch_commit_new_kid), (gst_switch_sink_change_state): When we can't create a fakesink/fakesrc complain instead of unreffing NULL pointers and crashing later. See bug #530535.
* gst/rtp/gstrtph263pdepay.c: Add some more debug info and guard against small ↵Wim Taymans2008-05-023-3/+32
| | | | | | | | | | payloads. Original commit message from CVS: * gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_process): Add some more debug info and guard against small payloads. * gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_process): Set duration on outgoing buffers because we can.
* ext/speex/gstspeexenc.c: Add negotiation for the speex channels and rate. ↵Olivier Crete2008-05-022-2/+50
| | | | | | | | | | Fixes #465146. Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * ext/speex/gstspeexenc.c: (gst_speex_enc_sink_getcaps), (gst_speex_enc_init), (gst_speex_enc_chain): Add negotiation for the speex channels and rate. Fixes #465146.
* gst/rtp/gstrtpspeexpay.c: Add negotiation for the speec channels and rate. ↵Olivier Crete2008-05-022-1/+39
| | | | | | | | | | See #465146. Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/gstrtpspeexpay.c: (gst_rtp_speex_pay_class_init), (gst_rtp_speex_pay_getcaps): Add negotiation for the speec channels and rate. See #465146.
* gst/rtp/gstrtpilbcpay.c: Add negotiation for the ILBC mode. See #465146.Olivier Crete2008-05-022-3/+49
| | | | | | | | Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/gstrtpilbcpay.c: (gst_rtpilbcpay_class_init), (gst_rtpilbcpay_sink_setcaps), (gst_rtpilbcpay_sink_getcaps): Add negotiation for the ILBC mode. See #465146.
* ext/soup/gstsouphttpsrc.c: Include stdlib to fix the build. Use g_free ↵Stefan Kost2008-05-022-1/+10
| | | | | | | | | instead of free, libsoup uses glib. Original commit message from CVS: * ext/soup/gstsouphttpsrc.c: Include stdlib to fix the build. Use g_free instead of free, libsoup uses glib.
* gst/qtdemux/qtdemux.c: Add more mpeg2 variants. Fixes #530886.j^2008-05-022-1/+17
| | | | | | | Original commit message from CVS: Patch by: j^ <j@bootlab.org> * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Add more mpeg2 variants. Fixes #530886.
* gst/udp/gstudpsrc.c: Don't error out if we get an ICMP ↵Youness Alaoui2008-05-012-0/+26
| | | | | | | | | | destination-unreachable message when trying to read packets on... Original commit message from CVS: Patch by: Youness Alaoui <youness.alaoui at collabora co uk> * gst/udp/gstudpsrc.c: (gst_udpsrc_create): Don't error out if we get an ICMP destination-unreachable message when trying to read packets on win32 (#529454).
* Use new error code for encrypted streams (which requires core CVS).Tim-Philipp Müller2008-04-303-3/+8
| | | | | | | Original commit message from CVS: * configure.ac: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): Use new error code for encrypted streams (which requires core CVS).
* gst/qtdemux/qtdemux.c: Fix swapped pad template names, spotted by Thiago ↵Tim-Philipp Müller2008-04-302-2/+8
| | | | | | | | | Sousa Santos. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_videosrc_template), (gst_qtdemux_audiosrc_template): Fix swapped pad template names, spotted by Thiago Sousa Santos.
* ext/speex/gstspeexdec.c: Produce concealment data when time progresses in a ↵Wim Taymans2008-04-302-0/+19
| | | | | | | | | segment update. Original commit message from CVS: * ext/speex/gstspeexdec.c: (speex_dec_sink_event), (speex_dec_chain_parse_data): Produce concealment data when time progresses in a segment update.
* ext/speex/gstspeexdec.c: Try to preserve input timestamps when we can.Wim Taymans2008-04-292-13/+44
| | | | | | | | Original commit message from CVS: * ext/speex/gstspeexdec.c: (speex_dec_chain_parse_data), (speex_dec_chain): Try to preserve input timestamps when we can. Do beginnings of error concealment.
* gst/debug/gstnavigationtest.c: MSVC doesn't provide rint(), define an ↵Michael Smith2008-04-282-0/+10
| | | | | | | | | adequate replacement locally as elsewhere. Original commit message from CVS: * gst/debug/gstnavigationtest.c: MSVC doesn't provide rint(), define an adequate replacement locally as elsewhere.
* gst/debug/rndbuffersize.c: Fix printf format to pacify Mac OSX's gcc.Julien Moutte2008-04-282-1/+6
| | | | | | | | Original commit message from CVS: 2008-04-28 Julien Moutte <julien@fluendo.com> * gst/debug/rndbuffersize.c: (gst_rnd_buffer_size_loop): Fix printf format to pacify Mac OSX's gcc.
* gst/debug/rndbuffersize.c: Bring rndbuffersize element into a state that ↵Tim-Philipp Müller2008-04-252-42/+99
| | | | | | | | | | | | | | | | | doesn't require us to move it to -bad immedi... Original commit message from CVS: * gst/debug/rndbuffersize.c: (DEFAULT_SEED), (DEFAULT_MIN), (DEFAULT_MAX), (src_template), (sink_template), (gst_rnd_buffer_size_base_init), (gst_rnd_buffer_size_class_init), (gst_rnd_buffer_size_init), (gst_rnd_buffer_size_activate), (gst_rnd_buffer_size_loop), (gst_rnd_buffer_size_plugin_init): Bring rndbuffersize element into a state that doesn't require us to move it to -bad immediately. For one, fix up default min/max values so that the element actuall works using the default values. Also, don't ignore flow return values and do some kind of minimal eos logic. Allow min=max to pull fixed-sized buffers. Bunch of other gratuitious clean-ups.