diff options
author | wm4 <wm4@nowhere> | 2015-09-20 17:05:14 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-20 17:05:14 +0200 |
commit | 9d2bc9a4ac6d7e547a95d18204cd74efa40977c7 (patch) | |
tree | ffc7f3ecd7d738852e828bb5192e3c4b0141d48b /player | |
parent | 3586e6ceeb35da315883449cec3929a9d56261fe (diff) | |
download | mpv-9d2bc9a4ac6d7e547a95d18204cd74efa40977c7.tar.bz2 mpv-9d2bc9a4ac6d7e547a95d18204cd74efa40977c7.tar.xz |
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.
Diffstat (limited to 'player')
-rw-r--r-- | player/loadfile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/player/loadfile.c b/player/loadfile.c index c6f0a17276..75c6a19a29 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -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: |