mirror of https://github.com/mpv-player/mpv
demux: don't print "Clip info:" line if there are no tags
This commit is contained in:
parent
20b2d7cb6f
commit
ddca41bd54
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue