diff options
Diffstat (limited to 'core/command.c')
-rw-r--r-- | core/command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/command.c b/core/command.c index 271db5b117..3553a192ad 100644 --- a/core/command.c +++ b/core/command.c @@ -850,16 +850,16 @@ static int mp_property_fullscreen(m_option_t *prop, void *arg, MPContext *mpctx) { - struct MPOpts *opts = mpctx->video_out->opts; + struct mp_vo_opts *opts = mpctx->video_out->opts; if (!mpctx->video_out) return M_PROPERTY_UNAVAILABLE; if (action == M_PROPERTY_SET) { - if (opts->vo.fs == !!*(int *) arg) + if (opts->fs == !!*(int *) arg) return M_PROPERTY_OK; if (mpctx->video_out->config_ok) vo_control(mpctx->video_out, VOCTRL_FULLSCREEN, 0); - mpctx->opts.fullscreen = opts->vo.fs; + mpctx->opts.fullscreen = opts->fs; return M_PROPERTY_OK; } return mp_property_generic_option(prop, action, arg, mpctx); |