diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-11-22 14:39:11 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-12-04 14:07:19 +0100 |
commit | b9c928a486fda3c0d79b153591ac86beb1c53708 (patch) | |
tree | 4cbc1fe372de041aa3a147c60a31bf5fba532356 /libavfilter/f_segment.c | |
parent | 944c34a94c3150fc84816c3288cc6f2143f1581b (diff) | |
download | ffmpeg-b9c928a486fda3c0d79b153591ac86beb1c53708.tar.gz |
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/f_segment.c')
-rw-r--r-- | libavfilter/f_segment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/f_segment.c b/libavfilter/f_segment.c index 70c8393972..5f44634803 100644 --- a/libavfilter/f_segment.c +++ b/libavfilter/f_segment.c @@ -286,7 +286,7 @@ const AVFilter ff_vf_segment = { .activate = activate, FILTER_INPUTS(segment_inputs), .outputs = NULL, - .flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS, + .flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS | AVFILTER_FLAG_METADATA_ONLY, }; #endif // CONFIG_SEGMENT_FILTER @@ -325,6 +325,6 @@ const AVFilter ff_af_asegment = { .activate = activate, FILTER_INPUTS(asegment_inputs), .outputs = NULL, - .flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS, + .flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS | AVFILTER_FLAG_METADATA_ONLY, }; #endif // CONFIG_ASEGMENT_FILTER |