diff options
author | wm4 <wm4@nowhere> | 2013-09-23 01:22:48 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-23 01:22:48 +0200 |
commit | ddca41bd54e2415b2ce1c909dedab7e9d062e46d (patch) | |
tree | 2acfa4c9086d9103fdf523b952a44eae409c83a2 /demux | |
parent | 20b2d7cb6fcc2190daf46d1dd24cd9649756605d (diff) | |
download | mpv-ddca41bd54e2415b2ce1c909dedab7e9d062e46d.tar.bz2 mpv-ddca41bd54e2415b2ce1c909dedab7e9d062e46d.tar.xz |
demux: don't print "Clip info:" line if there are no tags
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux.c | 2 |
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"); |