summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-30 23:44:28 +0200
committerwm4 <wm4@nowhere>2016-08-30 23:44:28 +0200
commitf3b3702025c0382bd045769e05fec6cb4723d26b (patch)
treebf8fd5471afccda42809105caf496446d8ff1b27
parentd223959cda7ef816b95303c328f7a8ad0e35dbff (diff)
downloadmpv-f3b3702025c0382bd045769e05fec6cb4723d26b.tar.bz2
mpv-f3b3702025c0382bd045769e05fec6cb4723d26b.tar.xz
player: make --force-window work with opengl-cb
No reason not to? This probably avoids surprises if someone really tries to combine them.
-rw-r--r--player/playloop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/playloop.c b/player/playloop.c
index ed4f57dd5c..3bf2216962 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -813,6 +813,7 @@ int handle_force_window(struct MPContext *mpctx, bool force)
.input_ctx = mpctx->input,
.osd = mpctx->osd,
.encode_lavc_ctx = mpctx->encode_lavc_ctx,
+ .opengl_cb_context = mpctx->gl_cb_ctx,
};
mpctx->video_out = init_best_video_out(mpctx->global, &ex);
if (!mpctx->video_out)