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

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


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Nov 28 13:08:12 2023 +0100| [67ce690bc6b64623bbe4ec79d4be7cad01cdfbbf] | committer: Paul B Mahol

avfilter/af_anlms: set output frame duration

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

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

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



More information about the ffmpeg-cvslog mailing list