aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-11-28 13:07:49 +0100
committerPaul B Mahol <onemda@gmail.com>2023-11-28 13:17:13 +0100
commit411c516453065323c32a01211497ed4e8fffd621 (patch)
tree1594f288b7a1cbb525747855c0f76bac7cc8366d
parentbafbb0697e05e78aca5b3eccc9c64fca8f05249b (diff)
downloadffmpeg-411c516453065323c32a01211497ed4e8fffd621.tar.gz
avfilter/af_arls: set output frame duration
-rw-r--r--libavfilter/af_arls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_arls.c b/libavfilter/af_arls.c
index 301e963d8a..4e77f9a561 100644
--- a/libavfilter/af_arls.c
+++ b/libavfilter/af_arls.c
@@ -139,6 +139,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]);