summaryrefslogtreecommitdiffstats
path: root/ext/gconf/gconf.c
Commit message (Collapse)AuthorAgeFilesLines
* gconf: Rename gconf.[ch] to gstgconf.[ch] to prevent name conflictsSebastian Dröge2009-02-241-304/+0
|
* ext/gconf/gconf.c: Use and unset the GError when pipeline creation fails ↵Sebastian Dröge2008-02-111-0/+8
| | | | | | | | | instead of simply leaking it. Fixes bug #515... Original commit message from CVS: * ext/gconf/gconf.c: (gst_gconf_render_bin_with_default): Use and unset the GError when pipeline creation fails instead of simply leaking it. Fixes bug #515704.
* ext/gconf/gconf.c: Handle a NULL gconf key gracefully by rendering the ↵Jan Schmidt2007-07-271-3/+4
| | | | | | | | default element. Original commit message from CVS: * ext/gconf/gconf.c: (gst_gconf_render_bin_with_default): Handle a NULL gconf key gracefully by rendering the default element.
* 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.
* Re-factor the gconfaudiosink into a "GstSwitchSink" base class and a child ↵Jan Schmidt2007-02-131-19/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/gconf/: In gconfaudiosink, get the right key as the old key in do_toggle ↵Tim-Philipp Müller2007-02-061-19/+23
| | | | | | | | | | | | | | | | (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.
* add Jurg's patch for multidevice supportChristian Schaller2006-02-171-2/+25
| | | | | Original commit message from CVS: add Jurg's patch for multidevice support
* ext/gconf/: Ignore changing the GConf key to "". Ignore GConf key updates ↵Jan Schmidt2006-02-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that don't actually change the string. Original commit message from CVS: * ext/gconf/gconf.c: (gst_gconf_get_default_audio_sink), (gst_gconf_get_default_video_sink), (gst_gconf_get_default_audio_src), (gst_gconf_get_default_video_src): * ext/gconf/gconf.h: * ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_reset), (gst_gconf_audio_sink_init), (gst_gconf_audio_sink_dispose), (do_toggle_element): * ext/gconf/gstgconfaudiosink.h: * ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_reset), (gst_gconf_audio_src_init), (gst_gconf_audio_src_dispose), (do_toggle_element): * ext/gconf/gstgconfaudiosrc.h: * ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_reset), (gst_gconf_video_sink_init), (gst_gconf_video_sink_dispose), (do_toggle_element): * ext/gconf/gstgconfvideosink.h: * ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_reset), (gst_gconf_video_src_init), (gst_gconf_video_src_dispose), (do_toggle_element): * ext/gconf/gstgconfvideosrc.h: Ignore changing the GConf key to "". Ignore GConf key updates that don't actually change the string. For now, ignore the GConf key when the state is > READY, as it breaks streaming. Sometime it will be nice to bring the new sink online even mid-stream, by sending NEWSEGMENT info and possibly prerolling. (Fixes #326736)
* Use new functions from core to render a bin from a string. Fixes build. Up ↵Tim-Philipp Müller2006-02-021-81/+11
| | | | | | | | | | requirements to core CVS. Original commit message from CVS: * configure.ac: * ext/gconf/gconf.c: (gst_gconf_render_bin_from_key): Use new functions from core to render a bin from a string. Fixes build. Up requirements to core CVS.
* *.*: Ran scripts/update-macros. Oh yes.Andy Wingo2005-11-211-7/+7
| | | | | | | | Original commit message from CVS: 2005-11-21 Andy Wingo <wingo@pobox.com> * *.h: * *.c: Ran scripts/update-macros. Oh yes.
* Port auto/gconfsinks to 0.9. They actually appear to work here inRonald S. Bultje2005-07-201-13/+22
| | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * ext/Makefile.am: * ext/gconf/Makefile.am: * ext/gconf/gconf.c: (gst_bin_find_unconnected_pad), (gst_gconf_render_bin_from_description), (gst_gconf_get_default_video_sink): * ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init), (gst_gconf_audio_sink_class_init), (gst_gconf_audio_sink_dispose), (cb_toggle_element), (gst_gconf_audio_sink_change_state): * ext/gconf/gstgconfelements.h: * ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init), (gst_gconf_video_sink_class_init), (gst_gconf_video_sink_dispose), (cb_toggle_element), (gst_gconf_video_sink_change_state): * gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_base_init), (gst_auto_audio_sink_class_init), (gst_auto_audio_sink_detect), (gst_auto_audio_sink_change_state): * gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_base_init), (gst_auto_video_sink_class_init), (gst_auto_video_sink_find_best), (gst_auto_video_sink_detect): Port auto/gconfsinks to 0.9. They actually appear to work here in Totem as well, making them actually useful.
* add gconf.{ch} from gst-libsThomas Vander Stichele2005-07-201-0/+318
Original commit message from CVS: add gconf.{ch} from gst-libs