gst-inspect: useful factory names for uri-handlers output
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 15 Oct 2010 17:45:14 +0000 (19:45 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 15 Oct 2010 17:45:30 +0000 (19:45 +0200)
Fixes #632236.

tools/gst-inspect.c

index 7b5fa5b..4f57108 100644 (file)
@@ -1179,7 +1179,8 @@ print_all_uri_handlers (void)
               gst_uri_handler_get_protocols (GST_URI_HANDLER (element));
           joined = g_strjoinv (", ", uri_protocols);
 
-          g_print ("%s (%s, rank %u): %s\n", GST_OBJECT_NAME (factory), dir,
+          g_print ("%s (%s, rank %u): %s\n",
+              gst_plugin_feature_get_name (GST_PLUGIN_FEATURE (factory)), dir,
               gst_plugin_feature_get_rank (GST_PLUGIN_FEATURE (factory)),
               joined);