diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 6da1877511..141c7bd6aa 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -891,7 +891,7 @@ print_preset_list (GstElement * element) return; presets = gst_preset_get_preset_names (GST_PRESET (element)); - if (presets) { + if (presets && *presets) { n_print ("\n"); n_print ("Presets:\n"); for (preset = presets; *preset; preset++) {