This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit a1a95df500cb6b9b9463157a4af7801239bc6dc0
Author:     Ramiro Polla <[email protected]>
AuthorDate: Thu Oct 8 16:25:03 2026 +0200
Commit:     Ramiro Polla <[email protected]>
CommitDate: Mon Oct 12 18:00:45 2026 +0000

    avfilter/af_lv2: move the bounded block check earlier in config_output()
    
    This will simplify the following commit.
---
 libavfilter/af_lv2.c | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/libavfilter/af_lv2.c b/libavfilter/af_lv2.c
index cd30e7ac28..e9375b2881 100644
--- a/libavfilter/af_lv2.c
+++ b/libavfilter/af_lv2.c
@@ -298,6 +298,13 @@ static int config_output(AVFilterLink *outlink)
                 return ret;
         }
 
+        if (lilv_plugin_has_feature(s->plugin, s->powerOf2BlockLength) ||
+            lilv_plugin_has_feature(s->plugin, s->fixedBlockLength) ||
+            lilv_plugin_has_feature(s->plugin, s->boundedBlockLength)) {
+            FilterLink *inl = ff_filter_link(inlink);
+
+            inl->min_samples = inl->max_samples = 4096;
+        }
     } else {
         outlink->sample_rate = sample_rate = s->sample_rate;
         outlink->time_base   = (AVRational){1, s->sample_rate};
@@ -380,15 +387,6 @@ static int config_output(AVFilterLink *outlink)
         }
     }
 
-    if (s->nb_inputs &&
-        (lilv_plugin_has_feature(s->plugin, s->powerOf2BlockLength) ||
-         lilv_plugin_has_feature(s->plugin, s->fixedBlockLength) ||
-         lilv_plugin_has_feature(s->plugin, s->boundedBlockLength))) {
-        FilterLink *inlink = ff_filter_link(ctx->inputs[0]);
-
-        inlink->min_samples = inlink->max_samples = 4096;
-    }
-
     lilv_instance_activate(s->instance);
     s->instance_activated = 1;
 

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to