From 218278b11dbb9c16bea95f3c8333fc242677a402 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 17 Jan 2023 15:36:58 +0100 Subject: [PATCH] avfilter/vsrc_testsrc: set video frame duration --- libavfilter/vsrc_testsrc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c index e7d8d9ea1a..9760e5fc80 100644 --- a/libavfilter/vsrc_testsrc.c +++ b/libavfilter/vsrc_testsrc.c @@ -183,6 +183,7 @@ static int activate(AVFilterContext *ctx) if (!frame) return AVERROR(ENOMEM); frame->pts = test->pts; + frame->duration = 1; frame->key_frame = 1; frame->interlaced_frame = 0; frame->pict_type = AV_PICTURE_TYPE_I;