From 0ce7a86e317d7177778e92259c130f5dab919e69 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 5 Oct 2022 11:11:08 +0200 Subject: lavfi/vf_coreimage: set frame durations This filter is supposed to produce CFR output. --- libavfilter/vf_coreimage.m | 1 + 1 file changed, 1 insertion(+) (limited to 'libavfilter') 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; -- cgit v1.2.3