mirror of https://github.com/mpv-player/mpv
video: fix update of vo-configured property
It obviously needs to be updated after the VO was destroyed.
This commit is contained in:
parent
167b75c50c
commit
6c2f25a7b0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue