mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vsrc_sierpinski: set video frame duration
This commit is contained in:
parent
d590fbf306
commit
aa24719843
|
@ -196,6 +196,7 @@ static int sierpinski_request_frame(AVFilterLink *link)
|
||||||
|
|
||||||
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;
|
||||||
|
|
||||||
draw_sierpinski(link->src, frame);
|
draw_sierpinski(link->src, frame);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue