avfilter/vsrc_mandelbrot: set video frame duration

pull/388/head
Paul B Mahol 2 years ago
parent 96d4f74548
commit 45910b2504
  1. 1
      libavfilter/vsrc_mandelbrot.c

@ -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…
Cancel
Save