demux: don't print "Clip info:" line if there are no tags

This commit is contained in:
wm4 2013-09-23 01:22:48 +02:00
parent 20b2d7cb6f
commit ddca41bd54
1 changed files with 1 additions and 1 deletions

View File

@ -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");