summaryrefslogtreecommitdiffstats
path: root/mpvcore/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-10 19:08:56 +0100
committerwm4 <wm4@nowhere>2013-12-10 20:07:39 +0100
commit2f46b23d51684eef7cfa2bd5fa5e2892772ca816 (patch)
treebb4363f817e6631d037cc77e225bcef2bc5b092e /mpvcore/player/video.c
parent5f0585177e58349a8a309037803ff99046a3ab27 (diff)
downloadmpv-2f46b23d51684eef7cfa2bd5fa5e2892772ca816.tar.bz2
mpv-2f46b23d51684eef7cfa2bd5fa5e2892772ca816.tar.xz
video: move handling of brightness and deinterlacing control
Handling of brightness/gamma/saturation/etc. and deinterlacing is moved from vf_vo.c to dec_video.c.
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);