From 45910b2504e2e2931357ba4b03272d15c4755d1f Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 17 Jan 2023 15:40:39 +0100 Subject: [PATCH] avfilter/vsrc_mandelbrot: set video frame duration --- libavfilter/vsrc_mandelbrot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c index d4d7e2fa49..aa63f9edd1 100644 --- a/libavfilter/vsrc_mandelbrot.c +++ b/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);