mirror of https://github.com/mpv-player/mpv
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:
parent
d223959cda
commit
f3b3702025
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue