summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-22 13:51:31 +0200
committerwm4 <wm4@nowhere>2014-05-22 13:51:31 +0200
commit85a513abdf0d9cb76e9c860ef00ae61a003880ae (patch)
treef4775e35bbea4b177eab0a2f773c8c7994374911
parent2f2b3f8d5c614090b5d168b05d22021ae7b0ca92 (diff)
downloadmpv-85a513abdf0d9cb76e9c860ef00ae61a003880ae.tar.bz2
mpv-85a513abdf0d9cb76e9c860ef00ae61a003880ae.tar.xz
player: suggest --no-audio-display on cover art
-rw-r--r--player/loadfile.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index 2a41149b11..5b52261f13 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1231,6 +1231,13 @@ goto_reopen_demuxer: ;
}
reselect_demux_streams(mpctx);
+ if (mpctx->current_track[0][STREAM_VIDEO] &&
+ mpctx->current_track[0][STREAM_VIDEO]->attached_picture)
+ {
+ MP_INFO(mpctx,
+ "Displaying attached picture. Use --no-audio-display to prevent this.\n");
+ }
+
demux_info_update(mpctx->master_demuxer);
print_file_properties(mpctx);