From 3054bcc62c04f8d360aba3c6f24982e78b25bcb0 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 20 Sep 2020 12:04:25 +0200 Subject: options: simplify --android-surface-size handling --- player/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') diff --git a/player/command.c b/player/command.c index 5197dafffc..982efa2e3a 100644 --- a/player/command.c +++ b/player/command.c @@ -6475,7 +6475,7 @@ 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 (opt_ptr == &opts->vo->android_surface_size) { if (mpctx->video_out) vo_control(mpctx->video_out, VOCTRL_EXTERNAL_RESIZE, NULL); } -- cgit v1.2.3