mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/vsrc_mandelbrot: set video frame duration
This commit is contained in:
parent
96d4f74548
commit
45910b2504
@ -395,6 +395,7 @@ static int request_frame(AVFilterLink *link)
|
||||
|
||||
picref->sample_aspect_ratio = (AVRational) {1, 1};
|
||||
picref->pts = s->pts++;
|
||||
picref->duration = 1;
|
||||
|
||||
draw_mandelbrot(link->src, (uint32_t*)picref->data[0], picref->linesize[0]/4, picref->pts);
|
||||
return ff_filter_frame(link, picref);
|
||||
|
Loading…
Reference in New Issue
Block a user