diff options
author | wm4 <wm4@nowhere> | 2014-10-24 15:34:28 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-24 15:34:28 +0200 |
commit | f4ad398b28c603ffc51613642a5c35a5ab936351 (patch) | |
tree | 0d93cc55ab6bd4774929467daad51a66dae41a9f /player/video.c | |
parent | db86eaad3d1db3dbc631ae7dfa7a7f4b12f10ee8 (diff) | |
download | mpv-f4ad398b28c603ffc51613642a5c35a5ab936351.tar.bz2 mpv-f4ad398b28c603ffc51613642a5c35a5ab936351.tar.xz |
video: send MPV_EVENT_VIDEO_RECONFIG on uninit
This event basically means "something about video changed", and uninit
is certainly an important change.
Diffstat (limited to 'player/video.c')
-rw-r--r-- | player/video.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |