mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
lavfi/vf_frei0r: set frame durations for frei0r_src
This source produces CFR output.
This commit is contained in:
parent
d1526f4dac
commit
c9508a019d
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user