[FFmpeg-cvslog] lavfi/src_avsynctest: set video frame durations
Anton Khirnov
git at videolan.org
Thu Oct 13 11:21:42 EEST 2022
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Oct 11 10:47:42 2022 +0200| [9e8a327e68404f203451a80e0f0555a157f8fccf] | committer: Anton Khirnov
lavfi/src_avsynctest: set video frame durations
This filter produces CFR video output.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9e8a327e68404f203451a80e0f0555a157f8fccf
---
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);
}
More information about the ffmpeg-cvslog
mailing list