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 | c9508a019daf12211124c42f63c097d386a34677 (patch) | |
tree | fb9adc033f1de268504a992d220c4ed0d295b647 /libavfilter/vf_frei0r.c | |
parent | d1526f4dacca42a5065b140d2e0058017e0e0049 (diff) | |
download | ffmpeg-c9508a019daf12211124c42f63c097d386a34677.tar.gz |
lavfi/vf_frei0r: set frame durations for frei0r_src
This source produces CFR output.
Diffstat (limited to 'libavfilter/vf_frei0r.c')
-rw-r--r-- | libavfilter/vf_frei0r.c | 1 |
1 files changed, 1 insertions, 0 deletions
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]); |