Commit c9508a01 authored by Anton Khirnov's avatar Anton Khirnov

lavfi/vf_frei0r: set frame durations for frei0r_src

This source produces CFR output.
parent d1526f4d
......@@ -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]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment