diff options
author | wm4 <wm4@nowhere> | 2013-12-10 19:08:56 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-10 20:07:39 +0100 |
commit | 2f46b23d51684eef7cfa2bd5fa5e2892772ca816 (patch) | |
tree | bb4363f817e6631d037cc77e225bcef2bc5b092e /video/filter | |
parent | 5f0585177e58349a8a309037803ff99046a3ab27 (diff) | |
download | mpv-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 'video/filter')
-rw-r--r-- | video/filter/vf_vo.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/video/filter/vf_vo.c b/video/filter/vf_vo.c index 631ab558f1..4f90f6ab3e 100644 --- a/video/filter/vf_vo.c +++ b/video/filter/vf_vo.c @@ -65,33 +65,6 @@ static int control(struct vf_instance *vf, int request, void *data) video_out = data; return CONTROL_OK; } - if (!video_out) - return CONTROL_FALSE; - - switch (request) { - case VFCTRL_GET_DEINTERLACE: - return vo_control(video_out, VOCTRL_GET_DEINTERLACE, data) == VO_TRUE; - case VFCTRL_SET_DEINTERLACE: - return vo_control(video_out, VOCTRL_SET_DEINTERLACE, data) == VO_TRUE; - case VFCTRL_SET_EQUALIZER: { - vf_equalizer_t *eq = data; - if (!video_out->config_ok) - return CONTROL_FALSE; // vo not configured? - struct voctrl_set_equalizer_args param = { - eq->item, eq->value - }; - return vo_control(video_out, VOCTRL_SET_EQUALIZER, ¶m) == VO_TRUE; - } - case VFCTRL_GET_EQUALIZER: { - vf_equalizer_t *eq = data; - if (!video_out->config_ok) - return CONTROL_FALSE; // vo not configured? - struct voctrl_get_equalizer_args param = { - eq->item, &eq->value - }; - return vo_control(video_out, VOCTRL_GET_EQUALIZER, ¶m) == VO_TRUE; - } - } return CONTROL_UNKNOWN; } |