summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-23 01:22:48 +0200
committerwm4 <wm4@nowhere>2013-09-23 01:22:48 +0200
commitddca41bd54e2415b2ce1c909dedab7e9d062e46d (patch)
tree2acfa4c9086d9103fdf523b952a44eae409c83a2
parent20b2d7cb6fcc2190daf46d1dd24cd9649756605d (diff)
downloadmpv-ddca41bd54e2415b2ce1c909dedab7e9d062e46d.tar.bz2
mpv-ddca41bd54e2415b2ce1c909dedab7e9d062e46d.tar.xz
demux: don't print "Clip info:" line if there are no tags
-rw-r--r--demux/demux.c2
1 files changed, 1 insertions, 1 deletions
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");