summaryrefslogtreecommitdiff
path: root/libavfilter/vf_ssim.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-22 14:39:11 +0100
committerAnton Khirnov <anton@khirnov.net>2021-12-04 14:07:19 +0100
commitb9c928a486fda3c0d79b153591ac86beb1c53708 (patch)
tree4cbc1fe372de041aa3a147c60a31bf5fba532356 /libavfilter/vf_ssim.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/vf_ssim.c')
-rw-r--r--libavfilter/vf_ssim.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/vf_ssim.c b/libavfilter/vf_ssim.c
index c6989d618b..32f313817d 100644
--- a/libavfilter/vf_ssim.c
+++ b/libavfilter/vf_ssim.c
@@ -592,5 +592,7 @@ const AVFilter ff_vf_ssim = {
FILTER_INPUTS(ssim_inputs),
FILTER_OUTPUTS(ssim_outputs),
FILTER_PIXFMTS_ARRAY(pix_fmts),
- .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS,
+ .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
+ AVFILTER_FLAG_SLICE_THREADS |
+ AVFILTER_FLAG_METADATA_ONLY,
};