mirror of https://github.com/mpv-player/mpv
player: make force-window=immediate work in auto-profiles
This is a bad hack; the correct way to handle this would be implementing profiles differently, and then listen to option changes and act on them dynamically.
This commit is contained in:
parent
3586e6ceeb
commit
9d2bc9a4ac
|
@ -1072,6 +1072,9 @@ static void play_current_file(struct MPContext *mpctx)
|
|||
|
||||
mpctx->max_frames = opts->play_frames;
|
||||
|
||||
if (opts->force_vo == 2)
|
||||
handle_force_window(mpctx, false);
|
||||
|
||||
MP_INFO(mpctx, "Playing: %s\n", mpctx->filename);
|
||||
|
||||
reopen_file:
|
||||
|
|
Loading…
Reference in New Issue