mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
minor cleanups
Original commit message from CVS: minor cleanups
This commit is contained in:
parent
aa29faadef
commit
703f271947
1 changed files with 1 additions and 1 deletions
|
@ -129,13 +129,13 @@ xmllaunch_parse_cmdline (const gchar *argv[])
|
||||||
*property++ = '\0';
|
*property++ = '\0';
|
||||||
*value++ = '\0';
|
*value++ = '\0';
|
||||||
|
|
||||||
g_print ("%s, %s, %s\n", element, property, value);
|
|
||||||
e = gst_bin_get_by_name (GST_BIN (pipeline), element);
|
e = gst_bin_get_by_name (GST_BIN (pipeline), element);
|
||||||
if (!e) {
|
if (!e) {
|
||||||
g_warning ("element named '%s' not found", element);
|
g_warning ("element named '%s' not found", element);
|
||||||
} else {
|
} else {
|
||||||
gst_util_set_object_arg (G_OBJECT (e), property, value);
|
gst_util_set_object_arg (G_OBJECT (e), property, value);
|
||||||
}
|
}
|
||||||
|
g_free (element);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!l)
|
if (!l)
|
||||||
|
|
Loading…
Reference in a new issue