aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-11-28 13:08:12 +0100
committerPaul B Mahol <onemda@gmail.com>2023-11-28 13:17:19 +0100
commit67ce690bc6b64623bbe4ec79d4be7cad01cdfbbf (patch)
tree633faa38345d7243b21636194f34df8eb2c3fa98
parent411c516453065323c32a01211497ed4e8fffd621 (diff)
downloadffmpeg-67ce690bc6b64623bbe4ec79d4be7cad01cdfbbf.tar.gz
avfilter/af_anlms: set output frame duration
-rw-r--r--libavfilter/af_anlms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_anlms.c b/libavfilter/af_anlms.c
index 1516cad0a5..17ec8db31f 100644
--- a/libavfilter/af_anlms.c
+++ b/libavfilter/af_anlms.c
@@ -142,6 +142,7 @@ static int activate(AVFilterContext *ctx)
FFMIN(ctx->outputs[0]->ch_layout.nb_channels, ff_filter_get_nb_threads(ctx)));
out->pts = s->frame[0]->pts;
+ out->duration = s->frame[0]->duration;
av_frame_free(&s->frame[0]);
av_frame_free(&s->frame[1]);