avfilter/af_arls: set output frame duration

release/7.0
Paul B Mahol 12 months ago
parent bafbb0697e
commit 411c516453
  1. 1
      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]);

Loading…
Cancel
Save