summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-09-20 12:04:25 +0200
committersfan5 <sfan5@live.de>2020-09-20 12:04:25 +0200
commit3054bcc62c04f8d360aba3c6f24982e78b25bcb0 (patch)
treec54188323ff6f18c5e6a2c132d99044c6982783a /player
parent7831e52238790bf1742b194e0469cf3db5f59bdd (diff)
downloadmpv-3054bcc62c04f8d360aba3c6f24982e78b25bcb0.tar.bz2
mpv-3054bcc62c04f8d360aba3c6f24982e78b25bcb0.tar.xz
options: simplify --android-surface-size handling
Diffstat (limited to 'player')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
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);
}