mirror of https://github.com/mpv-player/mpv
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:
parent
db86eaad3d
commit
f4ad398b28
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue