From ddca41bd54e2415b2ce1c909dedab7e9d062e46d Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 23 Sep 2013 01:22:48 +0200 Subject: [PATCH] demux: don't print "Clip info:" line if there are no tags --- demux/demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demux/demux.c b/demux/demux.c index 9447abec96..4fb121e29e 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -745,7 +745,7 @@ int demux_info_print(demuxer_t *demuxer) struct mp_tags *info = demuxer->metadata; int n; - if (!info) + if (!info || !info->num_keys) return 0; mp_tmsg(MSGT_DEMUX, MSGL_INFO, "Clip info:\n");