lavfi/vf_tinterlace: set frame durations

This filter is supposed to produce CFR output.
pull/388/head
Anton Khirnov 2 years ago
parent 7c299c1178
commit 19c701fac8
  1. 1
      libavfilter/vf_tinterlace.c

@ -510,6 +510,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *picref)
}
out->pts = av_rescale_q(out->pts, tinterlace->preout_time_base, outlink->time_base);
out->duration = av_rescale_q(1, av_inv_q(outlink->frame_rate), outlink->time_base);
ret = ff_filter_frame(outlink, out);
return ret;

Loading…
Cancel
Save