From 47e7676e7e1d39bf8bcd5fa623698f383a60712e Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 23 Apr 2016 17:24:03 +0200 Subject: [PATCH] player: force VO reconfig when unselecting video track Switches to a black window if --force-window is used while coverart "video" is playing. --- player/loadfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/loadfile.c b/player/loadfile.c index 489024578e..2b88ecfeb0 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -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);