diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-11-28 13:07:49 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-11-28 13:17:13 +0100 |
commit | 411c516453065323c32a01211497ed4e8fffd621 (patch) | |
tree | 1594f288b7a1cbb525747855c0f76bac7cc8366d | |
parent | bafbb0697e05e78aca5b3eccc9c64fca8f05249b (diff) | |
download | ffmpeg-411c516453065323c32a01211497ed4e8fffd621.tar.gz |
avfilter/af_arls: set output frame duration
-rw-r--r-- | libavfilter/af_arls.c | 1 |
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]); |