video: send MPV_EVENT_VIDEO_RECONFIG on uninit

This event basically means "something about video changed", and uninit
is certainly an important change.
This commit is contained in:
wm4 2014-10-24 15:34:28 +02:00
parent db86eaad3d
commit f4ad398b28
1 changed files with 1 additions and 0 deletions

View File

@ -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)