aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-04-23 17:24:03 +0200
committerGravatar wm4 <wm4@nowhere>2016-04-23 18:55:24 +0200
commit47e7676e7e1d39bf8bcd5fa623698f383a60712e (patch)
tree5b98d8077565a6a362243b9a59f079eccbb56260
parent786f37ae1c77b46b34ed66b4a73c42ff64bfc9b8 (diff)
player: force VO reconfig when unselecting video track
Switches to a black window if --force-window is used while coverart "video" is playing.
-rw-r--r--player/loadfile.c2
1 files changed, 1 insertions, 1 deletions
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);