summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-23 16:34:14 +0100
committerwm4 <wm4@nowhere>2015-03-23 16:34:14 +0100
commit6c2f25a7b0271fd901f946324ea3b850bebc290a (patch)
tree94dbbe43e1331bd7c79de2c61c6d4b06acda9d05 /player
parent167b75c50c673bc477d0b18b38cd1d20292ce8b8 (diff)
downloadmpv-6c2f25a7b0271fd901f946324ea3b850bebc290a.tar.bz2
mpv-6c2f25a7b0271fd901f946324ea3b850bebc290a.tar.xz
video: fix update of vo-configured property
It obviously needs to be updated after the VO was destroyed.
Diffstat (limited to 'player')
-rw-r--r--player/video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/video.c b/player/video.c
index e072de7c99..b544a44b26 100644
--- a/player/video.c
+++ b/player/video.c
@@ -238,6 +238,7 @@ void uninit_video_out(struct MPContext *mpctx)
if (mpctx->video_out)
vo_destroy(mpctx->video_out);
mpctx->video_out = NULL;
+ mp_notify(mpctx, MPV_EVENT_VIDEO_RECONFIG, NULL);
}
void uninit_video_chain(struct MPContext *mpctx)