diff options
author | wm4 <wm4@nowhere> | 2016-01-22 16:18:28 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-22 16:18:28 +0100 |
commit | 135a7217b92c0b1c29ea40ab405566e72d23ae4b (patch) | |
tree | 491bfc975d15c4df6095a30720dd9bd404f73e70 /video/filter/vf.h | |
parent | ce0b26c60ff31166b4b4317d269c52fe7d576c5c (diff) | |
download | mpv-135a7217b92c0b1c29ea40ab405566e72d23ae4b.tar.bz2 mpv-135a7217b92c0b1c29ea40ab405566e72d23ae4b.tar.xz |
command: add vf-command command
Diffstat (limited to 'video/filter/vf.h')
-rw-r--r-- | video/filter/vf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/filter/vf.h b/video/filter/vf.h index f828d4e735..c982b612e1 100644 --- a/video/filter/vf.h +++ b/video/filter/vf.h @@ -144,6 +144,7 @@ enum vf_ctrl { /* Hack to make the OSD state object available to vf_sub which * access OSD/subtitle state outside of normal OSD draw time. */ VFCTRL_INIT_OSD, + VFCTRL_COMMAND, }; struct vf_chain *vf_new(struct mpv_global *global); @@ -164,6 +165,8 @@ struct vf_instance *vf_find_by_label(struct vf_chain *c, const char *label); void vf_print_filter_chain(struct vf_chain *c, int msglevel, struct vf_instance *vf); +int vf_send_command(struct vf_chain *c, char *label, char *cmd, char *arg); + // Filter internal API struct mp_image *vf_alloc_out_image(struct vf_instance *vf); bool vf_make_out_image_writeable(struct vf_instance *vf, struct mp_image *img); |