summaryrefslogtreecommitdiffstats
path: root/ext/gconf/gstgconfvideosink.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2006-02-05 22:22:56 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2006-02-05 22:22:56 +0000
commit059527abc02d074cb31af6d0b25e0ed1c8b032c9 (patch)
treebe1db2d7c22090c9451cc2be72182ebd423b84bd /ext/gconf/gstgconfvideosink.h
parent07c1dceae064b547747a1513ca17225c1c1c3e0e (diff)
ext/gconf/: Ignore changing the GConf key to "". Ignore GConf key updates 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)
Diffstat (limited to 'ext/gconf/gstgconfvideosink.h')
-rw-r--r--ext/gconf/gstgconfvideosink.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/gconf/gstgconfvideosink.h b/ext/gconf/gstgconfvideosink.h
index 7adcf5fa..c0194a37 100644
--- a/ext/gconf/gstgconfvideosink.h
+++ b/ext/gconf/gstgconfvideosink.h
@@ -45,6 +45,9 @@ typedef struct _GstGConfVideoSink {
GConfClient *client;
GstElement *kid;
GstPad *pad;
+
+ /* Current gconf string */
+ gchar *gconf_str;
} GstGConfVideoSink;
typedef struct _GstGConfVideoSinkClass {