summaryrefslogtreecommitdiffstats
path: root/video/filter/vf.h
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-04-13 07:04:23 -0700
committerwm4 <wm4@nowhere>2014-04-13 18:03:01 +0200
commitf09134b76d9dfda8001de82fa33bc1aab967cae7 (patch)
treed406bd139a84882bac2c4d09795b001dbc25a533 /video/filter/vf.h
parent0a278f92e69963f64723ae70e24af040e6c04958 (diff)
downloadmpv-f09134b76d9dfda8001de82fa33bc1aab967cae7.tar.bz2
mpv-f09134b76d9dfda8001de82fa33bc1aab967cae7.tar.xz
vf_lavfi: copy AVFrame metadata into vf_lavfi priv
store it as mp_tas and add VFCTRL_GET_METADATA to access it from elsewhere Signed-off-by: wm4 <wm4@nowhere> old-configure test by wm4.
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 6bc887bbb2..968e6da225 100644
--- a/video/filter/vf.h
+++ b/video/filter/vf.h
@@ -120,6 +120,7 @@ enum vf_ctrl {
VFCTRL_INIT_OSD, // Filter OSD renderer present?
VFCTRL_SET_DEINTERLACE, // Set deinterlacing status
VFCTRL_GET_DEINTERLACE, // Get deinterlacing status
+ VFCTRL_GET_METADATA, // Get frame metadata from lavfi filters (e.g., cropdetect)
/* Hack to make the OSD state object available to vf_sub which
* access OSD/subtitle state outside of normal OSD draw time. */
VFCTRL_SET_OSD_OBJ,