From f4ad398b28c603ffc51613642a5c35a5ab936351 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 24 Oct 2014 15:34:28 +0200 Subject: video: send MPV_EVENT_VIDEO_RECONFIG on uninit This event basically means "something about video changed", and uninit is certainly an important change. --- player/video.c | 1 + 1 file changed, 1 insertion(+) (limited to 'player/video.c') diff --git a/player/video.c b/player/video.c index 62d0f486b7..db33406d63 100644 --- a/player/video.c +++ b/player/video.c @@ -248,6 +248,7 @@ void uninit_video_chain(struct MPContext *mpctx) mpctx->sync_audio_to_video = false; reselect_demux_streams(mpctx); } + mp_notify(mpctx, MPV_EVENT_VIDEO_RECONFIG, NULL); } int reinit_video_chain(struct MPContext *mpctx) -- cgit v1.2.3