diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-10-11 10:47:42 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-10-13 10:19:13 +0200 |
commit | cdc4d9908954cd33089a0dd7a191979fe58cb505 (patch) | |
tree | cc10a3c8c6b255d8c7a168f6f3a8548529e748d3 | |
parent | c9508a019daf12211124c42f63c097d386a34677 (diff) | |
download | ffmpeg-cdc4d9908954cd33089a0dd7a191979fe58cb505.tar.gz |
lavfi/vf_minterpolate: set output frame durations
This filter produces CFR output.
-rw-r--r-- | libavfilter/vf_minterpolate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c index 97d0e96c59..f2de61ca39 100644 --- a/libavfilter/vf_minterpolate.c +++ b/libavfilter/vf_minterpolate.c @@ -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); |