avfilter/vsrc_sierpinski: set video frame duration

This commit is contained in:
Paul B Mahol 2023-01-17 15:35:07 +01:00
parent d590fbf306
commit aa24719843
1 changed files with 1 additions and 0 deletions

View File

@ -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);