You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +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