mirror of https://github.com/mpv-player/mpv
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:
parent
786f37ae1c
commit
47e7676e7e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue