mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
lavfi/vf_tinterlace: set frame durations
This filter is supposed to produce CFR output.
This commit is contained in:
parent
7c299c1178
commit
19c701fac8
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue