summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* ext/wavpack/gstwavpack.c: Call bindtextdomain() to get localized strings.Sebastian Dröge2007-05-024-2/+30
| | | | | | | | | | | | | | | Original commit message from CVS: * ext/wavpack/gstwavpack.c: (plugin_init): Call bindtextdomain() to get localized strings. * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset), (gst_wavpack_parse_handle_seek_event), (gst_wavpack_parse_push_buffer), (gst_wavpack_parse_chain): * ext/wavpack/gstwavpackparse.h: Handle DISCONT buffers by correctly setting the DISCONT flag on outgoing buffers when necessary. * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_handle_seek_event) Send newsegment from the streaming thread.
* ext/flac/gstflac.c: Call bindtextdomain() to get localized strings.Sebastian Dröge2007-05-021-0/+7
| | | | | | Original commit message from CVS: * ext/flac/gstflac.c: (plugin_init): Call bindtextdomain() to get localized strings.
* ext/flac/gstflacdec.c: Correctly post an error on the bus if something went ↵Sebastian Dröge2007-05-021-4/+9
| | | | | | | | | | wrong in the loop function. This fixes a ... Original commit message from CVS: * ext/flac/gstflacdec.c: (gst_flac_dec_loop): Correctly post an error on the bus if something went wrong in the loop function. This fixes a few cases where the task was paused and nothing happened anymore.
* ext/wavpack/gstwavpackparse.c: Remove old workaround that was needed when ↵Sebastian Dröge2007-05-021-5/+0
| | | | | | | | | | | seeking after the last sample. With the fix... Original commit message from CVS: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_handle_seek_event): Remove old workaround that was needed when seeking after the last sample. With the fixed error handling this works now as expected without pushing the last sample although it wasn't requested.
* ext/wavpack/gstwavpackparse.c: Handle segment seeks in the seek event ↵Sebastian Dröge2007-05-021-1/+13
| | | | | | | | | | | handler, correctly work with stop position == -... Original commit message from CVS: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_handle_seek_event): Handle segment seeks in the seek event handler, correctly work with stop position == -1 and instead of stopping the task on seek just pause it.
* ext/wavpack/gstwavpackparse.c: Add handling for segment seeks.Sebastian Dröge2007-05-021-4/+18
| | | | | | Original commit message from CVS: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_loop): Add handling for segment seeks.
* ext/wavpack/gstwavpackparse.c: Correctly handle errors, especially in the ↵Sebastian Dröge2007-05-021-26/+29
| | | | | | | | | | | | loop function. Before it was easy to get th... Original commit message from CVS: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_pull_buffer), (gst_wavpack_parse_create_src_pad), (gst_wavpack_parse_resync_loop), (gst_wavpack_parse_loop), (gst_wavpack_parse_chain): Correctly handle errors, especially in the loop function. Before it was easy to get the task paused but no error being posted on the bus.
* autogen.sh: Require automake 1.7Thomas Vander Stichele2007-04-291-1/+0
| | | | | | | | | | | | | | | | | | Original commit message from CVS: * autogen.sh: Require automake 1.7 * ext/alsaspdif/Makefile.am: * ext/divx/Makefile.am: * ext/ivorbis/Makefile.am: * ext/musicbrainz/Makefile.am: * ext/neon/Makefile.am: * ext/sdl/Makefile.am: * ext/swfdec/Makefile.am: * ext/theora/Makefile.am: * ext/wavpack/Makefile.am: * ext/xvid/Makefile.am: * gst/modplug/Makefile.am: Fix up Makefile.am accordingly.
* ext/libpng/gstpngdec.c: If we get a fatal flow return in the loop function, ↵Tim-Philipp Müller2007-04-251-1/+1
| | | | | | | | | | | first post the error message and only the... Original commit message from CVS: * ext/libpng/gstpngdec.c: (gst_pngdec_task): If we get a fatal flow return in the loop function, first post the error message and only then send the EOS event downstream, otherwise applications might get an eos message before the error message and think everything was ok (related to #429319).
* ext/wavpack/: Don't play audioconvert. As wavpack wants/outputs all samples ↵Sebastian Dröge2007-03-307-187/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with width==32 and depth=[1,32] accept th... Original commit message from CVS: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_reset), (gst_wavpack_dec_init), (gst_wavpack_dec_sink_set_caps), (gst_wavpack_dec_clip_outgoing_buffer), (gst_wavpack_dec_post_tags), (gst_wavpack_dec_chain): * ext/wavpack/gstwavpackdec.h: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_reset), (gst_wavpack_enc_sink_set_caps), (gst_wavpack_enc_set_wp_config), (gst_wavpack_enc_chain): * ext/wavpack/gstwavpackenc.h: * ext/wavpack/gstwavpackparse.c: Don't play audioconvert. As wavpack wants/outputs all samples with width==32 and depth=[1,32] accept this and let audioconvert convert to accepted formats instead of doing it in the element for n*8 depths. This also adds support for non-n*8 depths and prevents some useless memory allocations. Fixes #421598 Also add a workaround for bug #421542 in wavpackenc for now... * tests/check/elements/wavpackdec.c: (GST_START_TEST): * tests/check/elements/wavpackenc.c: (GST_START_TEST): * tests/check/elements/wavpackparse.c: (GST_START_TEST): Consider the change above in the unit tests and test if the correct caps are accepted and set. Also check for GST_BUFFER_OFFSET_END in the wavpackparse unit test. * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_init), (gst_wavpack_dec_sink_set_caps): Set caps on the src pad as soon as possible. * ext/wavpack/gstwavpackdec.h: * ext/wavpack/gstwavpackcommon.h: * ext/wavpack/gstwavpackenc.h: * ext/wavpack/gstwavpackparse.h: Fix indention. gst-indent is now called by cicl.
* ext/wavpack/gstwavpackparse.c: Revert last commit, preventing infinite ↵Sebastian Dröge2007-03-221-2/+4
| | | | | | | | | | plugging loops with ranks is no clean solution... Original commit message from CVS: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_plugin_init): Revert last commit, preventing infinite plugging loops with ranks is no clean solution and in general there's no reason why one wants to parse framed wavpack data again.
* ext/wavpack/gstwavpackenc.c: Send the new segment event in time format ↵Sebastian Dröge2007-03-222-5/+3
| | | | | | | | | | | | | | instead of bytes. This allows "wavpackenc ! wa... Original commit message from CVS: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_push_block): Send the new segment event in time format instead of bytes. This allows "wavpackenc ! wavpackdec ! someaudiosink" pipelines. * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_plugin_init): Accept framed and non-framed input, wavpackparse doesn't care. To prevent "wavpackparse ! wavpackparse ! ..." pipelines lower the rank of wavpackparse by one. This allows "wavpackenc ! wavpackparse ! ..." pipelines.
* ext/wavpack/gstwavpackdec.c: Revert to use gst_pad_alloc_buffer() here. We ↵Sebastian Dröge2007-03-221-6/+6
| | | | | | | | | can and should use it. Original commit message from CVS: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain): Revert to use gst_pad_alloc_buffer() here. We can and should use it. Thanks to Jan and Mike for noticing my mistake.
* ext/gconf/gconf.c: Accept complex pipeline descriptions as an audio profile ↵Christophe Dehais2007-03-221-7/+8
| | | | | | | | | | instead of just a single element. Fixes #... Original commit message from CVS: Patch by: Christophe Dehais <christophe dot dehais at gmail dot com> * ext/gconf/gconf.c: (gst_gconf_render_bin_with_default): Accept complex pipeline descriptions as an audio profile instead of just a single element. Fixes #420658.
* ext/wavpack/gstwavpackenc.*: Put the write helpers into the GstWavpackEnc ↵Sebastian Dröge2007-03-223-25/+10
| | | | | | | | | | | | | | | | struct directly and not as a pointer to sav... Original commit message from CVS: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init), (gst_wavpack_enc_init), (gst_wavpack_enc_chain), (gst_wavpack_enc_rewrite_first_block): * ext/wavpack/gstwavpackenc.h: Put the write helpers into the GstWavpackEnc struct directly and not as a pointer to save two small, but useless mallocs. This also makes it possible to drop the finalize method. * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_push_buffer): For consistency reasons also set GST_BUFFER_OFFSET_END on the outgoing buffers the same way wavpackenc does it.
* ext/wavpack/gstwavpackdec.c: Don't use gst_pad_alloc_buffer() as we might ↵Sebastian Dröge2007-03-211-10/+8
| | | | | | | | | | | clip the buffer later and Original commit message from CVS: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain): Don't use gst_pad_alloc_buffer() as we might clip the buffer later and BaseTransform-based elements will likely break because of wrong unit-size. Also plug a possible memleak that happens when decoding fails for some reason.
* ext/dv/gstdvdec.*: Infer pixel-aspect-ratio from the video frame format if ↵Wim Taymans2007-03-092-26/+116
| | | | | | | | | | | | | | | it isn't provided by the container, as hap... Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_sink_setcaps), (gst_dvdec_src_negotiate), (gst_dvdec_chain), (gst_dvdec_change_state): * ext/dv/gstdvdec.h: Infer pixel-aspect-ratio from the video frame format if it isn't provided by the container, as happens when playing DV from AVI or Quicktime containers. Patch by: Wim Taymans <wim@fluendo.com> Fixes #380944
* ext/taglib/gstid3v2mux.cc: Add write support for ↵Wim Taymans2007-03-091-0/+1
| | | | | | | | | GST_TAG_MUSICBRAINZ_SORTNAME (TSOP) tag. Original commit message from CVS: * ext/taglib/gstid3v2mux.cc: Add write support for GST_TAG_MUSICBRAINZ_SORTNAME (TSOP) tag. Fixes #414496.
* ext/raw1394/gstdv1394src.c: Free handles that we allocated when exiting via ↵Jan Schmidt2007-03-071-0/+10
| | | | | | | | the error paths. Original commit message from CVS: * ext/raw1394/gstdv1394src.c: (gst_dv1394src_start): Free handles that we allocated when exiting via the error paths.
* ext/wavpack/: Use a general wavpack debug category for common code.Sebastian Dröge2007-03-076-6/+19
| | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/wavpack/gstwavpack.c: (plugin_init): * ext/wavpack/gstwavpackcommon.c: Use a general wavpack debug category for common code. * ext/wavpack/gstwavpackstreamreader.c: (gst_wavpack_stream_reader_set_pos_abs), (gst_wavpack_stream_reader_set_pos_rel), (gst_wavpack_stream_reader_write_bytes): Use the general wavpack debug category here too and add debug output to the functions that should not be called at all by the wavpack library. * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_plugin_init): * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_plugin_init): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_plugin_init): Change debugging category names to conform to the conventions.
* ext/gconf/gstswitchsink.c: Fix up the dispose logic so it doesn't leak, and ↵Jan Schmidt2007-03-061-11/+18
| | | | | | | | | | | fix setting of the child state so that we... Original commit message from CVS: * ext/gconf/gstswitchsink.c: (gst_switch_sink_dispose), (gst_switch_commit_new_kid): Fix up the dispose logic so it doesn't leak, and fix setting of the child state so that we don't set a child to our current state just as we are changing it to something else.
* ext/esd/esdsink.c: Unref static pad template after using it.Jan Schmidt2007-03-051-0/+1
| | | | | | Original commit message from CVS: * ext/esd/esdsink.c: (gst_esdsink_open): Unref static pad template after using it.
* ext/gconf/gstswitchsink.c: Fix up the reference counting of the child elements.Jan Schmidt2007-03-051-1/+13
| | | | | | | Original commit message from CVS: * ext/gconf/gstswitchsink.c: (gst_switch_sink_dispose), (gst_switch_commit_new_kid): Fix up the reference counting of the child elements.
* ext/gconf/gstswitchsink.c: Install fakesink in NULL by fixing some broken ↵Jan Schmidt2007-03-051-8/+8
| | | | | | | | | | | logic. This obviates the need to manually s... Original commit message from CVS: * ext/gconf/gstswitchsink.c: (gst_switch_sink_reset), (gst_switch_commit_new_kid), (gst_switch_sink_set_child): Install fakesink in NULL by fixing some broken logic. This obviates the need to manually set _IS_SINK. Add some comments and remove a little cruft while I'm at it.
* ext/gconf/gstswitchsink.c: Mark us as a sink when we have no fakesink in ↵Wim Taymans2007-03-051-0/+1
| | | | | | | | NULL. Fixes #414887. Original commit message from CVS: * ext/gconf/gstswitchsink.c: (gst_switch_sink_reset): Mark us as a sink when we have no fakesink in NULL. Fixes #414887.
* ext/cdio/gstcdiocddasrc.c: Make sure we always destroy our libcdio handle.Jan Schmidt2007-03-041-0/+10
| | | | | | | Original commit message from CVS: * ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_open), (gst_cdio_cdda_src_finalize): Make sure we always destroy our libcdio handle.
* Fix a bunch of leaks shown by the newly-added states test.Jan Schmidt2007-03-049-13/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/flac/gstflacenc.c: (gst_flac_enc_finalize): * ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_class_init), (gst_gconf_audio_sink_dispose), (gst_gconf_audio_sink_finalize): * ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_base_init), (gst_gconf_audio_src_class_init), (gst_gconf_audio_src_dispose), (gst_gconf_audio_src_finalize), (do_toggle_element): * ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init), (gst_gconf_video_sink_class_init), (gst_gconf_video_sink_finalize), (do_toggle_element): * ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_base_init), (gst_gconf_video_src_class_init), (gst_gconf_video_src_dispose), (gst_gconf_video_src_finalize), (do_toggle_element): * ext/gconf/gstswitchsink.c: (gst_switch_sink_class_init), (gst_switch_sink_reset), (gst_switch_sink_set_child): * ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_base_init): * ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_base_init): * ext/shout2/gstshout2.c: (gst_shout2send_class_init), (gst_shout2send_init), (gst_shout2send_finalize): * gst/debug/testplugin.c: (gst_test_class_init), (gst_test_finalize): * gst/flx/gstflxdec.c: (gst_flxdec_class_init), (gst_flxdec_dispose): * gst/multipart/multipartmux.c: (gst_multipart_mux_finalize): * gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_finalize): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init), (gst_rtspsrc_finalize): * gst/rtsp/rtspextwms.c: (rtsp_ext_wms_free_context): * gst/rtsp/rtspextwms.h: * gst/smpte/gstsmpte.c: (gst_smpte_class_init), (gst_smpte_finalize): * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_finalize): * gst/udp/gstudpsink.c: (gst_udpsink_class_init), (gst_udpsink_finalize): * gst/wavparse/gstwavparse.c: (gst_wavparse_dispose), (gst_wavparse_sink_activate): * sys/oss/gstosssink.c: (gst_oss_sink_finalise): * sys/oss/gstosssrc.c: (gst_oss_src_class_init), (gst_oss_src_finalize): * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_destroy): * sys/v4l2/gstv4l2object.h: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init), (gst_v4l2src_finalize): * sys/ximage/gstximagesrc.c: (gst_ximage_src_ximage_get): Fix a bunch of leaks shown by the newly-added states test.
* ext/dv/gstdvdec.c: Use gst_pad_new_from_static_template instead of ↵Jan Schmidt2007-03-041-8/+2
| | | | | | | | | static_pad_template_get+pad_new. Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_init): Use gst_pad_new_from_static_template instead of static_pad_template_get+pad_new.
* Don't mix tabs and spaces (#414168).Loïc Minier2007-03-031-1/+1
| | | | | | | | Original commit message from CVS: Patch by: Loïc Minier <lool+gnome at via ecp fr> * ext/libcaca/Makefile.am: * gst/debug/Makefile.am: Don't mix tabs and spaces (#414168).
* ext/cdio/gstcdiocddasrc.c: Small code cleanups.Wim Taymans2007-03-021-39/+49
| | | | | | | | | Original commit message from CVS: * ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_probe_devices), (gst_cdio_cdda_src_read_sector), (gst_cdio_cdda_src_open), (gst_cdio_cdda_src_finalize): Small code cleanups. Don't use pad_alloc as the base class cannot deal with the error codes.
* ext/hal/hal.c: Fix compilation.Wim Taymans2007-03-021-0/+5
| | | | | | Original commit message from CVS: * ext/hal/hal.c: Fix compilation.
* ext/hal/: Having NULL as UDI previously selected the default sink/src. ↵Sebastian Dröge2007-03-014-64/+277
| | | | | | | | | | | | | | | | | | | | | Change this back but mention it in the debug o... Original commit message from CVS: * ext/hal/gsthalaudiosink.c: (do_toggle_element): * ext/hal/gsthalaudiosrc.c: (do_toggle_element): Having NULL as UDI previously selected the default sink/src. Change this back but mention it in the debug output. * ext/hal/hal.c: (gst_hal_get_alsa_element), (gst_hal_get_oss_element), (gst_hal_get_string), (gst_hal_render_bin_from_udi), (gst_hal_get_audio_sink), (gst_hal_get_audio_src): * ext/hal/hal.h: Refactor a bit, check all error conditions, greatly improve debugging and fix some possible memory leaks. Also implement OSS support and allow specifying an UDI that points to a real device. For this the child device which supports ALSA (preferred) or OSS is used. As a side effect this makes it impossible now to get a alsasink in halaudiosrc and a alsasrc in halaudiosink.
* ext/hal/: Check if the device UDI is set before trying to query HAL about it ↵Sebastian Dröge2007-03-013-2/+16
| | | | | | | | | | | | | | and give a useful error message if it wa... Original commit message from CVS: * ext/hal/gsthalaudiosink.c: (do_toggle_element): * ext/hal/gsthalaudiosrc.c: (do_toggle_element): Check if the device UDI is set before trying to query HAL about it and give a useful error message if it wasn't set. * ext/hal/hal.c: (gst_hal_get_string): Don't query HAL for NULL UDIs. Passing NULL as UDI to HAL gives an assertion failure in D-Bus when running with DBUS_FATAL_WARNINGS=1.
* ext/shout2/gstshout2.*: Add a property for username.Michael Smith2007-02-272-2/+18
| | | | | | | | | Original commit message from CVS: * ext/shout2/gstshout2.c: (gst_shout2send_class_init), (gst_shout2send_init), (gst_shout2send_start), (gst_shout2send_set_property), (gst_shout2send_get_property): * ext/shout2/gstshout2.h: Add a property for username.
* Fix build with LDFLAGS='-Wl,-z,defs' (#410997)Loïc Minier2007-02-243-3/+3
| | | | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Loïc Minier <lool+gnome at via ecp fr> * configure.ac: * ext/annodex/Makefile.am: * ext/jpeg/Makefile.am: * ext/speex/Makefile.am: * gst/alpha/Makefile.am: * gst/cutter/Makefile.am: * gst/debug/Makefile.am: * gst/effectv/Makefile.am: * gst/goom/Makefile.am: * gst/level/Makefile.am: * gst/smpte/Makefile.am: * gst/videofilter/Makefile.am: Fix build with LDFLAGS='-Wl,-z,defs' (#410997)
* Fix build with LDFLAGS='-Wl,-z,defs'.Tim-Philipp Müller2007-02-241-2/+2
| | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * ext/gsm/Makefile.am: * ext/ladspa/Makefile.am: * ext/wavpack/Makefile.am: * gst/equalizer/Makefile.am: * gst/filter/Makefile.am: * gst/mve/Makefile.am: * gst/nsf/Makefile.am: * gst/replaygain/Makefile.am: * gst/speed/Makefile.am: Fix build with LDFLAGS='-Wl,-z,defs'.
* ext/gconf/gstgconfaudiosink.c: Don't reset the profile when going switching ↵Jan Schmidt2007-02-141-2/+3
| | | | | | | | | | states, as it makes the element non-reusa... Original commit message from CVS: * ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_reset), (do_change_child): Don't reset the profile when going switching states, as it makes the element non-reusable.
* Re-factor the gconfaudiosink into a "GstSwitchSink" base class and a child ↵Jan Schmidt2007-02-137-136/+439
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that implements the GConf key monitoring. ... Original commit message from CVS: * ext/gconf/Makefile.am: * ext/gconf/gconf.c: (gst_gconf_get_string), (gst_gconf_get_key_for_sink_profile), (gst_gconf_set_string), (gst_gconf_render_bin_with_default): * ext/gconf/gconf.h: * ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init), (gst_gconf_audio_sink_reset), (gst_gconf_audio_sink_init), (gst_gconf_audio_sink_dispose), (do_change_child), (gst_gconf_switch_profile), (gst_gconf_audio_sink_set_property), (cb_change_child), (gst_gconf_audio_sink_change_state): * ext/gconf/gstgconfaudiosink.h: * ext/gconf/gstswitchsink.c: (gst_switch_sink_base_init), (gst_switch_sink_class_init), (gst_switch_sink_reset), (gst_switch_sink_init), (gst_switch_sink_dispose), (gst_switch_commit_new_kid), (gst_switch_sink_set_child), (gst_switch_sink_set_property), (gst_switch_sink_handle_event), (gst_switch_sink_get_property), (gst_switch_sink_change_state): * ext/gconf/gstswitchsink.h: * gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_class_init), (gst_auto_audio_sink_dispose), (gst_auto_audio_sink_clear_kid), (gst_auto_audio_sink_reset), (gst_auto_audio_sink_detect): * gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_class_init), (gst_auto_video_sink_dispose), (gst_auto_video_sink_clear_kid), (gst_auto_video_sink_reset), (gst_auto_video_sink_detect): Re-factor the gconfaudiosink into a "GstSwitchSink" base class and a child that implements the GConf key monitoring. The end goal of this is an audio sink that can be changed on the fly, but at the moment it still only changes on the next READY transition.
* ext/hal/hal.*: Some small cleanups; deal with errors when parsing the HAL ↵Tim-Philipp Müller2007-02-072-21/+24
| | | | | | | | | | ALSA capabilities a bit better. Original commit message from CVS: * ext/hal/hal.c: (gst_hal_get_string): * ext/hal/hal.h: Some small cleanups; deal with errors when parsing the HAL ALSA capabilities a bit better.
* ext/gconf/: In gconfaudiosink, get the right key as the old key in do_toggle ↵Tim-Philipp Müller2007-02-063-31/+41
| | | | | | | | | | | | | | | | (ie. one dependent on the profile select... Original commit message from CVS: * ext/gconf/gconf.c: (gst_gconf_get_key_for_sink_profile), (gst_gconf_render_bin_from_key), (gst_gconf_get_default_audio_sink): * ext/gconf/gconf.h: * ext/gconf/gstgconfaudiosink.c: (get_gconf_key_for_profile), (do_toggle_element), (gst_gconf_audio_sink_set_property), (gst_gconf_audio_sink_get_property): In gconfaudiosink, get the right key as the old key in do_toggle (ie. one dependent on the profile selected). Log some more stuff so we can see what's actually going on.
* ext/wavpack/gstwavpackparse.c: Fix a off by one that leads to the duration ↵Sebastian Dröge2007-01-311-6/+4
| | | | | | | | | | | reported as one sample less than it is Original commit message from CVS: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_src_query), (gst_wavpack_parse_handle_seek_event), (gst_wavpack_parse_create_src_pad): Fix a off by one that leads to the duration reported as one sample less than it is
* ext/shout2/gstshout2.*: Properly handle tags in shout2send. Fixes #399825.charles2007-01-262-21/+37
| | | | | | | | | Original commit message from CVS: Patch by: charles <charlesg3 at gmail dot com> * ext/shout2/gstshout2.c: (gst_shout2send_init), (set_shout_metadata), (gst_shout2send_event): * ext/shout2/gstshout2.h: Properly handle tags in shout2send. Fixes #399825.
* ext/wavpack/gstwavpackparse.c: Fix the SEEKING query. We can seek if we are ↵Sebastian Dröge2007-01-251-3/+6
| | | | | | | | | | | in pull mode, not the other way around. A... Original commit message from CVS: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_src_query): Fix the SEEKING query. We can seek if we are in pull mode, not the other way around. Also set the correct format in the seeking query and handle the case where the headers are not read yet and we can't say anything about our seeking capabilities.
* ext/wavpack/: Fix spelling in 2 places: It's called Wavpack, not WavePack.Sebastian Dröge2007-01-252-3/+3
| | | | | | | Original commit message from CVS: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init): Fix spelling in 2 places: It's called Wavpack, not WavePack.
* ext/wavpack/gstwavpackenc.c: Minor clean-up: use enum values instead of ↵Sebastian Dröge2007-01-111-11/+12
| | | | | | | | | | | hardcoded constants (#395536). Original commit message from CVS: Patch by: Sebastian Dröge <slomo@circular-chaos.org> * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_mode_get_type), (gst_wavpack_enc_correction_mode_get_type), (gst_wavpack_enc_joint_stereo_mode_get_type): Minor clean-up: use enum values instead of hardcoded constants (#395536).
* ext/jpeg/: These libjpeg callbacks should return a 'boolean' (unsigned char ↵Vincent Torri2007-01-083-6/+6
| | | | | | | | | | | | | | | | | apparently) and not a 'gboolean' (which m... Original commit message from CVS: Patch by: Vincent Torri <vtorri at univ-evry fr> * ext/jpeg/gstjpegdec.c: * ext/jpeg/gstjpegenc.c: * ext/jpeg/smokecodec.c: These libjpeg callbacks should return a 'boolean' (unsigned char apparently) and not a 'gboolean' (which maps to gint). Fixes warnings when compiling with MingW (#393427). * gst/rtsp/rtspconnection.c: (rtsp_connection_read): Use ioctlsocket on win32. * gst/udp/gstudpsrc.c: (gst_udpsrc_create): Some printf format fixes for win32.
* ext/esd/esdsink.c: Don't return bogus values when esd_get_delay() fails for ↵Tim-Philipp Müller2007-01-041-0/+5
| | | | | | | | | some reason (#392189). Original commit message from CVS: * ext/esd/esdsink.c: (gst_esdsink_delay): Don't return bogus values when esd_get_delay() fails for some reason (#392189).
* Disable LADPSA, as it has moved to the -bad module for the duration.Jan Schmidt2006-12-181-4/+4
| | | | | | | Original commit message from CVS: * configure.ac: * ext/Makefile.am: Disable LADPSA, as it has moved to the -bad module for the duration.
* ext/ladspa/gstsignalprocessor.c: Reset flow_state back to _OK after a flush ↵Wim Taymans2006-12-181-7/+18
| | | | | | | | | | stop so that we exit our error state afte... Original commit message from CVS: * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_setcaps), (gst_signal_processor_event): Reset flow_state back to _OK after a flush stop so that we exit our error state after the flush. Fixes #374213
* ext/wavpack/gstwavpackenc.h: Use local copy of md5.h, as it disappeared in ↵Sebastian Dröge2006-12-181-1/+1
| | | | | | | | | | | recent wavpack installs. Original commit message from CVS: * ext/wavpack/gstwavpackenc.h: Use local copy of md5.h, as it disappeared in recent wavpack installs. Patch by: Sebastian Dröge <slomo at ubuntu dot com> Fixes: #387076