diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-11-28 13:08:12 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-11-28 13:17:19 +0100 |
commit | 67ce690bc6b64623bbe4ec79d4be7cad01cdfbbf (patch) | |
tree | 633faa38345d7243b21636194f34df8eb2c3fa98 | |
parent | 411c516453065323c32a01211497ed4e8fffd621 (diff) | |
download | ffmpeg-67ce690bc6b64623bbe4ec79d4be7cad01cdfbbf.tar.gz |
avfilter/af_anlms: set output frame duration
-rw-r--r-- | libavfilter/af_anlms.c | 1 |
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]); |