[FFmpeg-devel] [PATCH 5/5] avfilter/af_(afftdn|agate), vf_(guided|morpho): Remove timeline support

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Oct 3 12:48:18 EEST 2021


These filters trigger an av_assert1() in ff_filter_activate().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavfilter/af_afftdn.c | 3 +--
 libavfilter/af_agate.c  | 1 -
 libavfilter/vf_guided.c | 3 +--
 libavfilter/vf_morpho.c | 1 -
 4 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/libavfilter/af_afftdn.c b/libavfilter/af_afftdn.c
index 5e9cefcfc1..87c6cd2219 100644
--- a/libavfilter/af_afftdn.c
+++ b/libavfilter/af_afftdn.c
@@ -1419,6 +1419,5 @@ const AVFilter ff_af_afftdn = {
     FILTER_INPUTS(inputs),
     FILTER_OUTPUTS(outputs),
     .process_command = process_command,
-    .flags           = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
-                       AVFILTER_FLAG_SLICE_THREADS,
+    .flags           = AVFILTER_FLAG_SLICE_THREADS,
 };
diff --git a/libavfilter/af_agate.c b/libavfilter/af_agate.c
index 5de2cc0f0e..63b4d8e7b5 100644
--- a/libavfilter/af_agate.c
+++ b/libavfilter/af_agate.c
@@ -407,6 +407,5 @@ const AVFilter ff_af_sidechaingate = {
     FILTER_INPUTS(sidechaingate_inputs),
     FILTER_OUTPUTS(sidechaingate_outputs),
     .process_command = ff_filter_process_command,
-    .flags          = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
 };
 #endif  /* CONFIG_SIDECHAINGATE_FILTER */
diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c
index 6720213219..16a6e9043c 100644
--- a/libavfilter/vf_guided.c
+++ b/libavfilter/vf_guided.c
@@ -494,7 +494,6 @@ const AVFilter ff_vf_guided = {
     .activate        = activate,
     .inputs          = NULL,
     FILTER_OUTPUTS(guided_outputs),
-    .flags           = AVFILTER_FLAG_DYNAMIC_INPUTS | AVFILTER_FLAG_SLICE_THREADS |
-                       AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
+    .flags           = AVFILTER_FLAG_DYNAMIC_INPUTS | AVFILTER_FLAG_SLICE_THREADS,
     .process_command = process_command,
 };
diff --git a/libavfilter/vf_morpho.c b/libavfilter/vf_morpho.c
index 818ebd6b9a..d29961f5b7 100644
--- a/libavfilter/vf_morpho.c
+++ b/libavfilter/vf_morpho.c
@@ -1027,6 +1027,5 @@ const AVFilter ff_vf_morpho = {
     .query_formats   = query_formats,
     FILTER_INPUTS(morpho_inputs),
     FILTER_OUTPUTS(morpho_outputs),
-    .flags           = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
     .process_command = ff_filter_process_command,
 };
-- 
2.30.2



More information about the ffmpeg-devel mailing list