From 30438fd472b634da9a649b78efe6063dcb695c21 Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Wed, 25 Jun 2003 12:18:31 +0000 Subject: [PATCH] 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. --- common | 2 +- tools/gst-inspect.c | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/common b/common index 9a3a505fcc..4e379694ae 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 9a3a505fcc52865de0bedbb3ee1ce0a6dcc9a025 +Subproject commit 4e379694ae9ff9843d65cf08928642eea44abdf8 diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 9281fa10c9..951229323a 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",