1
mirror of https://github.com/mpv-player/mpv synced 2024-08-20 08:55:06 +02:00

player: make --force-window work with opengl-cb

No reason not to? This probably avoids surprises if someone really tries
to combine them.
This commit is contained in:
wm4 2016-08-30 23:44:28 +02:00
parent d223959cda
commit f3b3702025

View File

@ -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)