mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/af_anlms: set output frame duration
This commit is contained in:
parent
411c516453
commit
67ce690bc6
|
@ -142,6 +142,7 @@ static int activate(AVFilterContext *ctx)
|
||||||
FFMIN(ctx->outputs[0]->ch_layout.nb_channels, ff_filter_get_nb_threads(ctx)));
|
FFMIN(ctx->outputs[0]->ch_layout.nb_channels, ff_filter_get_nb_threads(ctx)));
|
||||||
|
|
||||||
out->pts = s->frame[0]->pts;
|
out->pts = s->frame[0]->pts;
|
||||||
|
out->duration = s->frame[0]->duration;
|
||||||
|
|
||||||
av_frame_free(&s->frame[0]);
|
av_frame_free(&s->frame[0]);
|
||||||
av_frame_free(&s->frame[1]);
|
av_frame_free(&s->frame[1]);
|
||||||
|
|
Loading…
Reference in New Issue