From f3b3702025c0382bd045769e05fec6cb4723d26b Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 30 Aug 2016 23:44:28 +0200 Subject: player: make --force-window work with opengl-cb No reason not to? This probably avoids surprises if someone really tries to combine them. --- player/playloop.c | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3