mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-02 14:36:41 +00:00
gconfvideosrc: Use correct GConf key
This commit is contained in:
parent
18cbdf50e7
commit
40a2cdb154
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ do_toggle_element (GstGConfVideoSrc * src)
|
||||||
GstElement *new_kid;
|
GstElement *new_kid;
|
||||||
gchar *new_gconf_str;
|
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 &&
|
if (new_gconf_str != NULL && src->gconf_str != NULL &&
|
||||||
(strlen (new_gconf_str) == 0 ||
|
(strlen (new_gconf_str) == 0 ||
|
||||||
strcmp (src->gconf_str, new_gconf_str) == 0)) {
|
strcmp (src->gconf_str, new_gconf_str) == 0)) {
|
||||||
|
|
Loading…
Reference in a new issue