Message ID | 20221011095445.27001-3-anton@khirnov.net |
---|---|
State | Accepted |
Commit | c9508a019daf12211124c42f63c097d386a34677 |
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_frei0r.c b/libavfilter/vf_frei0r.c index 1e01114b76..66351d6678 100644 --- a/libavfilter/vf_frei0r.c +++ b/libavfilter/vf_frei0r.c @@ -488,6 +488,7 @@ static int source_request_frame(AVFilterLink *outlink) frame->sample_aspect_ratio = (AVRational) {1, 1}; frame->pts = s->pts++; + frame->duration = 1; s->update(s->instance, av_rescale_q(frame->pts, s->time_base, (AVRational){1,1000}), NULL, (uint32_t *)frame->data[0]);