Commit 358aced4 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_amultiply: set output frame duration

parent 8b9c400f
......@@ -74,6 +74,7 @@ static int activate(AVFilterContext *ctx)
return AVERROR(ENOMEM);
out->pts = s->frames[0]->pts;
out->duration = s->frames[0]->duration;
if (av_get_packed_sample_fmt(ctx->inputs[0]->format) == AV_SAMPLE_FMT_FLT) {
for (i = 0; i < s->planes; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment