diff options
author | Marton Balint <cus@passwd.hu> | 2016-10-05 00:32:48 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2016-10-13 23:01:53 +0200 |
commit | 7845c13881979494db766f67ca9a0cd1fbe1f0fa (patch) | |
tree | 793499f412cde8621a39a1c86ebc080f6b1299d5 /libavfilter/allfilters.c | |
parent | 7a65aef00d113a38e0d1a54df49eead9df6aa15c (diff) |
lavfi/sidedata: add filter for manipulating frame side data
This is a similar filter to f_metadata, only it works on side data. Since
adding side data from a user provided arbitrary binary string is unsafe,
because current code assumes that a side data of a certain kind has the proper
size, this filter only implements selection and deletion. Also, no value
matching support is implemented yet, because there is no uniform way to specify
a side data textually.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavfilter/allfilters.c')
-rw-r--r-- | libavfilter/allfilters.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c index 8f542fddb6..82a65ee339 100644 --- a/libavfilter/allfilters.c +++ b/libavfilter/allfilters.c @@ -80,6 +80,7 @@ void avfilter_register_all(void) REGISTER_FILTER(ASETRATE, asetrate, af); REGISTER_FILTER(ASETTB, asettb, af); REGISTER_FILTER(ASHOWINFO, ashowinfo, af); + REGISTER_FILTER(ASIDEDATA, asidedata, af); REGISTER_FILTER(ASPLIT, asplit, af); REGISTER_FILTER(ASTATS, astats, af); REGISTER_FILTER(ASTREAMSELECT, astreamselect, af); @@ -286,6 +287,7 @@ void avfilter_register_all(void) REGISTER_FILTER(SHOWPALETTE, showpalette, vf); REGISTER_FILTER(SHUFFLEFRAMES, shuffleframes, vf); REGISTER_FILTER(SHUFFLEPLANES, shuffleplanes, vf); + REGISTER_FILTER(SIDEDATA, sidedata, vf); REGISTER_FILTER(SIGNALSTATS, signalstats, vf); REGISTER_FILTER(SMARTBLUR, smartblur, vf); REGISTER_FILTER(SOBEL, sobel, vf); |