Commit 30438fd4 authored by Brian Cameron's avatar Brian Cameron

Fixed gst-inspect so it doesn't core dump on Solaris.

Original commit message from CVS:
Fixed gst-inspect so it doesn't core dump on Solaris.
parent b157e76e
common @ 4e379694
Subproject commit 9a3a505fcc52865de0bedbb3ee1ce0a6dcc9a025
Subproject commit 4e379694ae9ff9843d65cf08928642eea44abdf8
......@@ -835,8 +835,12 @@ print_element_list (void)
GstTypeFactory *factory;
factory = GST_TYPE_FACTORY (feature);
g_print ("%s type: %s: %s\n", plugin->name,
factory->mime, factory->exts);
if (factory->exts)
g_print ("%s type: %s: %s\n", plugin->name,
factory->mime, factory->exts);
else
g_print ("%s type: %s: N/A\n", plugin->name,
factory->mime);
if (factory->typefindfunc)
g_print (" Has typefind function: %s\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment