summaryrefslogtreecommitdiffstats
path: root/mpvcore/player/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/player/video.c')
-rw-r--r--mpvcore/player/video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpvcore/player/video.c b/mpvcore/player/video.c
index 2f069a634b..7584f84c1c 100644
--- a/mpvcore/player/video.c
+++ b/mpvcore/player/video.c
@@ -123,6 +123,7 @@ int reinit_video_chain(struct MPContext *mpctx)
d_video->opts = mpctx->opts;
d_video->header = sh;
d_video->fps = sh->video->fps;
+ d_video->vo = mpctx->video_out;
mpctx->initialized_flags |= INITIALIZED_VCODEC;
vo_control(mpctx->video_out, VOCTRL_GET_HWDEC_INFO, &d_video->hwdec_info);