[FFmpeg-cvslog] avfilter/af_arls: set output frame duration

Paul B Mahol git at videolan.org
Tue Nov 28 14:15:23 EET 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Nov 28 13:07:49 2023 +0100| [411c516453065323c32a01211497ed4e8fffd621] | committer: Paul B Mahol

avfilter/af_arls: set output frame duration

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=411c516453065323c32a01211497ed4e8fffd621
---

 libavfilter/af_arls.c | 1 +
 1 file changed, 1 insertion(+)

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]);



More information about the ffmpeg-cvslog mailing list