mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-04 22:30:25 +00: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->sample_aspect_ratio = (AVRational) {1, 1};
|
||||||
frame->pts = s->pts++;
|
frame->pts = s->pts++;
|
||||||
|
frame->duration = 1;
|
||||||
|
|
||||||
s->update(s->instance, av_rescale_q(frame->pts, s->time_base, (AVRational){1,1000}),
|
s->update(s->instance, av_rescale_q(frame->pts, s->time_base, (AVRational){1,1000}),
|
||||||
NULL, (uint32_t *)frame->data[0]);
|
NULL, (uint32_t *)frame->data[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user