1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-07 07:31:48 +00:00

player: actually play video

Broken by e00e9d65.
This commit is contained in:
wm4 2015-06-18 20:48:30 +02:00
parent 797277a233
commit d328b2088c

View File

@ -303,7 +303,7 @@ int reinit_video_chain(struct MPContext *mpctx)
if (!video_init_best_codec(d_video, opts->video_decoders))
goto err_out;
if (!decode_coverart(d_video))
if (d_video->header->attached_picture && !decode_coverart(d_video))
goto err_out;
bool saver_state = opts->pause || !opts->stop_screensaver;