Message ID | 20221011095445.27001-4-anton@khirnov.net |
---|---|
State | Accepted |
Commit | cdc4d9908954cd33089a0dd7a191979fe58cb505 |
Headers | show |
Series | [FFmpeg-devel,1/5] lavfi/vf_framepack: properly set output duration for framesequence output | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
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);