summaryrefslogtreecommitdiffstats
path: root/video/filter/vf.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-15 00:57:04 +0200
committerwm4 <wm4@nowhere>2013-07-15 01:49:26 +0200
commit88e813aae6f2a91177b450a46c04a26db276c422 (patch)
tree9eb84e4ec3efa8df6ef5e7c50d9711f91adea082 /video/filter/vf.h
parent17ab38bc664308ea6fe17249b9ddd434b6e05d8e (diff)
downloadmpv-88e813aae6f2a91177b450a46c04a26db276c422.tar.bz2
mpv-88e813aae6f2a91177b450a46c04a26db276c422.tar.xz
vf: add vf_control wrapper
Slightly cleaner, although rather redundant. But still, why wasn't this added 10 years ago?
Diffstat (limited to 'video/filter/vf.h')
-rw-r--r--video/filter/vf.h1
1 files changed, 1 insertions, 0 deletions
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);