diff options
author | Brian Cameron <brian.cameron@sun.com> | 2003-06-25 12:18:31 +0000 |
---|---|---|
committer | Brian Cameron <brian.cameron@sun.com> | 2003-06-25 12:18:31 +0000 |
commit | 30438fd472b634da9a649b78efe6063dcb695c21 (patch) | |
tree | d1096dc699072a56b8d4a53424fffbfd9ba4453e /tools | |
parent | b157e76e61e36db3066bf8add7444117cc779b9b (diff) |
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.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gst-inspect.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 9281fa10c..951229323 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -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", |