summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index 48206f527d..541e2d1987 100644
--- a/player/command.c
+++ b/player/command.c
@@ -5819,6 +5819,11 @@ void mp_option_change_callback(void *ctx, struct m_config_option *co, int flags)
if (flags & UPDATE_LAVFI_COMPLEX)
update_lavfi_complex(mpctx);
+
+ if (flags & UPDATE_VO_RESIZE) {
+ if (mpctx->video_out)
+ vo_control(mpctx->video_out, VOCTRL_EXTERNAL_RESIZE, NULL);
+ }
}
void mp_notify_property(struct MPContext *mpctx, const char *property)