Commit cdc4d990 authored by Anton Khirnov's avatar Anton Khirnov

lavfi/vf_minterpolate: set output frame durations

This filter produces CFR output.
parent c9508a01
......@@ -1189,6 +1189,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *avf_in)
av_frame_copy_props(avf_out, mi_ctx->frames[NB_FRAMES - 1].avf);
avf_out->pts = mi_ctx->out_pts++;
avf_out->duration = 1;
interpolate(inlink, avf_out);
......
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