minor cleanups

Original commit message from CVS:
minor cleanups
This commit is contained in:
Andy Wingo 2002-01-15 05:58:45 +00:00
parent aa29faadef
commit 703f271947

View file

@ -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)