History

avfilter/vsrc_life: set video frame duration

Paul B Mahol committed 3 years ago

Commit e845c3e1 parent 45910b21 file · +1 −0Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vsrc_life.c+1−0
@@ -404,6 +404,7 @@ static int request_frame(AVFilterLink *outlink) · 403 unmodified lines
404 return AVERROR(ENOMEM);404 return AVERROR(ENOMEM);
405 picref->sample_aspect_ratio = (AVRational) {1, 1};405 picref->sample_aspect_ratio = (AVRational) {1, 1};
406 picref->pts = life->pts++;406 picref->pts = life->pts++;
407 picref->duration = 1;
407 408
408 life->draw(outlink->src, picref);409 life->draw(outlink->src, picref);
409 evolve(outlink->src);410 evolve(outlink->src);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t