gconfvideosrc: Use correct GConf key

This commit is contained in:
Sebastian Dröge 2010-07-04 09:45:52 +02:00
parent 18cbdf50e7
commit 40a2cdb154

View file

@ -133,7 +133,7 @@ do_toggle_element (GstGConfVideoSrc * src)
GstElement *new_kid;
gchar *new_gconf_str;
new_gconf_str = gst_gconf_get_string (GST_GCONF_AUDIOSRC_KEY);
new_gconf_str = gst_gconf_get_string (GST_GCONF_VIDEOSRC_KEY);
if (new_gconf_str != NULL && src->gconf_str != NULL &&
(strlen (new_gconf_str) == 0 ||
strcmp (src->gconf_str, new_gconf_str) == 0)) {