From 358aced447fb1fe11da8bf888dab4e9cade7bcdf Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 28 Nov 2023 12:55:16 +0100 Subject: [PATCH] avfilter/af_amultiply: set output frame duration --- libavfilter/af_amultiply.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/af_amultiply.c b/libavfilter/af_amultiply.c index 7871487cdd..4ae355c794 100644 --- a/libavfilter/af_amultiply.c +++ b/libavfilter/af_amultiply.c @@ -74,6 +74,7 @@ static int activate(AVFilterContext *ctx) return AVERROR(ENOMEM); out->pts = s->frames[0]->pts; + out->duration = s->frames[0]->duration; if (av_get_packed_sample_fmt(ctx->inputs[0]->format) == AV_SAMPLE_FMT_FLT) { for (i = 0; i < s->planes; i++) {