Commit e845c3e0 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vsrc_life: set video frame duration

parent 45910b25
......@@ -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);
......
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