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/f_realtime.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/f_realtime.c')
-rw-r--r--libavfilter/f_realtime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/f_realtime.c b/libavfilter/f_realtime.c
index 11bdb058ed..9a60ded0ca 100644
--- a/libavfilter/f_realtime.c
+++ b/libavfilter/f_realtime.c
@@ -95,6 +95,7 @@ const AVFilter ff_vf_realtime = {
.description = NULL_IF_CONFIG_SMALL("Slow down filtering to match realtime."),
.priv_size = sizeof(RealtimeContext),
.priv_class = &realtime_class,
+ .flags = AVFILTER_FLAG_METADATA_ONLY,
FILTER_INPUTS(avfilter_vf_realtime_inputs),
FILTER_OUTPUTS(avfilter_vf_realtime_outputs),
};
@@ -122,6 +123,7 @@ const AVFilter ff_af_arealtime = {
.description = NULL_IF_CONFIG_SMALL("Slow down filtering to match realtime."),
.priv_class = &realtime_class,
.priv_size = sizeof(RealtimeContext),
+ .flags = AVFILTER_FLAG_METADATA_ONLY,
FILTER_INPUTS(arealtime_inputs),
FILTER_OUTPUTS(arealtime_outputs),
};