mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 19:06:33 +00:00
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.
This commit is contained in:
parent
b157e76e61
commit
30438fd472
2 changed files with 7 additions and 3 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
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",
|
||||
|
|
Loading…
Reference in a new issue