Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-22 16:39:11 +0300
committerAnton Khirnov <anton@khirnov.net>2021-12-04 16:07:19 +0300
commitb9c928a486fda3c0d79b153591ac86beb1c53708 (patch)
tree4cbc1fe372de041aa3a147c60a31bf5fba532356 /libavfilter/af_anull.c
parent944c34a94c3150fc84816c3288cc6f2143f1581b (diff)
avfilter: add AVFILTER_FLAG_METADATA_ONLY
This flag allows distinguishing between filters that actually modify the data and those that only modify metadata or gather some stream information.
Diffstat (limited to 'libavfilter/af_anull.c')
-rw-r--r--libavfilter/af_anull.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_anull.c b/libavfilter/af_anull.c
index 065d37e17e..78c5faeb23 100644
--- a/libavfilter/af_anull.c
+++ b/libavfilter/af_anull.c
@@ -44,6 +44,7 @@ static const AVFilterPad avfilter_af_anull_outputs[] = {
const AVFilter ff_af_anull = {
.name = "anull",
.description = NULL_IF_CONFIG_SMALL("Pass the source unchanged to the output."),
+ .flags = AVFILTER_FLAG_METADATA_ONLY,
FILTER_INPUTS(avfilter_af_anull_inputs),
FILTER_OUTPUTS(avfilter_af_anull_outputs),
};