From 9e8a327e68404f203451a80e0f0555a157f8fccf Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 11 Oct 2022 10:47:42 +0200 Subject: [PATCH] lavfi/src_avsynctest: set video frame durations This filter produces CFR video output. --- libavfilter/src_avsynctest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/src_avsynctest.c b/libavfilter/src_avsynctest.c index c78e517ac3..78e4a2ba50 100644 --- a/libavfilter/src_avsynctest.c +++ b/libavfilter/src_avsynctest.c @@ -348,6 +348,7 @@ static int video_frame(AVFilterLink *outlink) } out->pts = s->vpts++; + out->duration = 1; return ff_filter_frame(outlink, out); }