From 4f400d2b855c63f9793dc5447d35c10f9be354bb Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 15 Sep 2013 22:03:29 +0200 Subject: [PATCH] command: force video refresh when changing aspect Pausing the player and changing the aspect would leave the VO without a frame to display. --- mpvcore/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mpvcore/command.c b/mpvcore/command.c index df78f59d4b..dedac9dc10 100644 --- a/mpvcore/command.c +++ b/mpvcore/command.c @@ -1459,7 +1459,8 @@ static int mp_property_aspect(m_option_t *prop, int action, void *arg, if (f < 0.1) f = (float)mpctx->sh_video->disp_w / mpctx->sh_video->disp_h; mpctx->opts->movie_aspect = f; - video_reinit_vo(mpctx->sh_video); + reinit_video_filters(mpctx); + mp_force_video_refresh(mpctx); return M_PROPERTY_OK; } case M_PROPERTY_GET: