[FFmpeg-cvslog] lavfi/vf_coreimage: set frame durations
Anton Khirnov
git at videolan.org
Thu Oct 13 11:21:23 EEST 2022
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Oct 5 11:11:08 2022 +0200| [0ce7a86e317d7177778e92259c130f5dab919e69] | committer: Anton Khirnov
lavfi/vf_coreimage: set frame durations
This filter is supposed to produce CFR output.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0ce7a86e317d7177778e92259c130f5dab919e69
---
libavfilter/vf_coreimage.m | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_coreimage.m b/libavfilter/vf_coreimage.m
index 5b025c2388..874bdc8c56 100644
--- a/libavfilter/vf_coreimage.m
+++ b/libavfilter/vf_coreimage.m
@@ -300,6 +300,7 @@ static int request_frame(AVFilterLink *link)
}
frame->pts = ctx->pts;
+ frame->duration = 1;
frame->key_frame = 1;
frame->interlaced_frame = 0;
frame->pict_type = AV_PICTURE_TYPE_I;
More information about the ffmpeg-cvslog
mailing list