From 465094f0710fdec421d3f92d51071e4a78b567db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 17 Nov 2017 00:14:35 +0000 Subject: [PATCH] tools: gst-inspect: fix double empty line after pad templates --- tools/gst-inspect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 4dd10ee..c49c138 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -592,7 +592,8 @@ print_pad_templates_info (GstElement * element, GstElementFactory * factory) gst_caps_unref (caps); } - n_print ("\n"); + if (pads != NULL) + n_print ("\n"); } } -- 2.7.4