mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
lavfi/vf_minterpolate: set output frame durations
This filter produces CFR output.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user