player: force VO reconfig when unselecting video track

Switches to a black window if --force-window is used while coverart
"video" is playing.
This commit is contained in:
wm4 2016-04-23 17:24:03 +02:00
parent 786f37ae1c
commit 47e7676e7e
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ void mp_switch_track_n(struct MPContext *mpctx, int order, enum stream_type type
if (type == STREAM_VIDEO) {
uninit_video_chain(mpctx);
if (!track)
handle_force_window(mpctx, false);
handle_force_window(mpctx, true);
} else if (type == STREAM_AUDIO) {
clear_audio_output_buffers(mpctx);
uninit_audio_chain(mpctx);