mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
avfilter/vsrc_mandelbrot: set video frame duration
This commit is contained in:
parent
96d4f74548
commit
45910b2504
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue