Commit 7c299c11 authored by Anton Khirnov's avatar Anton Khirnov

lavfi/settb: rescale input frame durations

parent 476c90c2
......@@ -128,6 +128,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
AVFilterLink *outlink = ctx->outputs[0];
frame->pts = rescale_pts(inlink, outlink, frame->pts);
frame->duration = av_rescale_q(frame->duration, inlink->time_base, outlink->time_base);
return ff_filter_frame(outlink, frame);
}
......
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