diff options
author | wm4 <wm4@nowhere> | 2016-01-14 09:46:03 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-14 09:46:11 +0100 |
commit | c9204fe3a521654b914c91893faa709158db77ba (patch) | |
tree | 2ff97f862ddaa37b88426fa80d595840630c9e7e /player/command.c | |
parent | 24e7fac50bbf0d303c4f020e330ad7d566941216 (diff) | |
download | mpv-c9204fe3a521654b914c91893faa709158db77ba.tar.bz2 mpv-c9204fe3a521654b914c91893faa709158db77ba.tar.xz |
video: fix interactively changing aspect ratio
The aspect ratio calculations are cached (mainly so that aspect ratio
related messages are not logged on every frame). The cache is not clared
anymore when video filters are reconfigured, but changing the
video-aspect-ratio property relied on it. Make it explicit.
Fixes #2714.
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c index 1bcc985785..453ab47b92 100644 --- a/player/command.c +++ b/player/command.c @@ -2771,7 +2771,7 @@ static int mp_property_aspect(void *ctx, struct m_property *prop, case M_PROPERTY_SET: { mpctx->opts->movie_aspect = *(float *)arg; if (mpctx->d_video) { - reinit_video_filters(mpctx); + video_reset_aspect(mpctx->d_video); mp_force_video_refresh(mpctx); } return M_PROPERTY_OK; |