Corrected core-dumping problem on Solaris when filename is NULL, as when running gst-inspect with gstcoreelements.

Original commit message from CVS:
Corrected core-dumping problem on Solaris when filename is NULL, as when
running gst-inspect with gstcoreelements.
This commit is contained in:
Brian Cameron 2004-07-30 20:18:11 +00:00
parent 63159e2f49
commit d2172d6881

View file

@ -954,7 +954,7 @@ print_plugin_info (GstPlugin * plugin)
n_print ("Plugin Details:\n");
n_print (" Name:\t\t%s\n", plugin->desc.name);
n_print (" Description:\t%s\n", plugin->desc.description);
n_print (" Filename:\t%s\n", plugin->filename);
n_print (" Filename:\t%s\n", plugin->filename ? plugin->filename : "(null)");
n_print (" Version:\t%s\n", plugin->desc.version);
n_print (" License:\t%s\n", plugin->desc.license);
n_print (" Package:\t%s\n", plugin->desc.package);