mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-24 02:09:03 +03:00
avfilter/vsrc_life: set video frame duration
This commit is contained in:
@@ -404,6 +404,7 @@ static int request_frame(AVFilterLink *outlink)
|
||||
return AVERROR(ENOMEM);
|
||||
picref->sample_aspect_ratio = (AVRational) {1, 1};
|
||||
picref->pts = life->pts++;
|
||||
picref->duration = 1;
|
||||
|
||||
life->draw(outlink->src, picref);
|
||||
evolve(outlink->src);
|
||||
|
||||
Reference in New Issue
Block a user