[FFmpeg-devel] [PATCH 5/5] lavfi/src_avsynctest: set video frame durations
Anton Khirnov
anton at khirnov.net
Tue Oct 11 12:54:45 EEST 2022
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);
}
--
2.35.1
More information about the ffmpeg-devel
mailing list