diff options
Diffstat (limited to 'video/filter')
-rw-r--r-- | video/filter/vf.h | 2 | ||||
-rw-r--r-- | video/filter/vf_pp.c | 12 |
2 files changed, 0 insertions, 14 deletions
diff --git a/video/filter/vf.h b/video/filter/vf.h index c946a31359..9b86cd117c 100644 --- a/video/filter/vf.h +++ b/video/filter/vf.h @@ -94,8 +94,6 @@ typedef struct vf_seteq { enum vf_ctrl { VFCTRL_SEEK_RESET = 1, // reset on picture and PTS discontinuities - VFCTRL_QUERY_MAX_PP_LEVEL, // query max postprocessing level (if any) - VFCTRL_SET_PP_LEVEL, // set postprocessing level VFCTRL_SET_EQUALIZER, // set color options (brightness,contrast etc) VFCTRL_GET_EQUALIZER, // get color options (brightness,contrast etc) VFCTRL_SCREENSHOT, // Take screenshot, arg is voctrl_screenshot_args diff --git a/video/filter/vf_pp.c b/video/filter/vf_pp.c index c34252a3ef..68ec22bd22 100644 --- a/video/filter/vf_pp.c +++ b/video/filter/vf_pp.c @@ -84,17 +84,6 @@ static int query_format(struct vf_instance *vf, unsigned int fmt){ return 0; } -static int control(struct vf_instance *vf, int request, void* data){ - switch(request){ - case VFCTRL_QUERY_MAX_PP_LEVEL: - return PP_QUALITY_MAX; - case VFCTRL_SET_PP_LEVEL: - vf->priv->pp= *((unsigned int*)data); - return CONTROL_TRUE; - } - return vf_next_control(vf,request,data); -} - static struct mp_image *filter(struct vf_instance *vf, struct mp_image *mpi) { // pass-through if pp disabled @@ -143,7 +132,6 @@ static int vf_open(vf_instance_t *vf, char *args){ int i; vf->query_format=query_format; - vf->control=control; vf->config=config; vf->filter=filter; vf->uninit=uninit; |