This filter produces CFR output.
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -1189,6 +1189,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *avf_in) · 1188 unmodified lines | ||
| 1189 | 1189 | |
| 1190 | 1190 | av_frame_copy_props(avf_out, mi_ctx->frames[NB_FRAMES - 1].avf); |
| 1191 | 1191 | avf_out->pts = mi_ctx->out_pts++; |
| 1192 | + avf_out->duration = 1; | |
| 1192 | 1193 | |
| 1193 | 1194 | interpolate(inlink, avf_out); |
| 1194 | 1195 | |