summaryrefslogtreecommitdiffstats
path: root/video/filter
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter')
-rw-r--r--video/filter/vf.c5
-rw-r--r--video/filter/vf.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c
index 1402ad3efc..1570e8402c 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -123,6 +123,11 @@ const m_obj_list_t vf_obj_list = {
M_ST_OFF(vf_info_t, opts)
};
+int vf_control(struct vf_instance *vf, int cmd, void *arg)
+{
+ return vf->control(vf, cmd, arg);
+}
+
// Get a new image for filter output, with size and pixel format according to
// the last vf_config call.
struct mp_image *vf_alloc_out_image(struct vf_instance *vf)
diff --git a/video/filter/vf.h b/video/filter/vf.h
index 638fc30a61..be1243e3a4 100644
--- a/video/filter/vf.h
+++ b/video/filter/vf.h
@@ -109,6 +109,7 @@ typedef struct vf_seteq {
#define VFCTRL_SET_YUV_COLORSPACE 22 // arg is struct mp_csp_details*
#define VFCTRL_GET_YUV_COLORSPACE 23 // arg is struct mp_csp_details*
+int vf_control(struct vf_instance *vf, int cmd, void *arg);
struct mp_image *vf_alloc_out_image(struct vf_instance *vf);
void vf_make_out_image_writeable(struct vf_instance *vf, struct mp_image *img);