diff mbox series

[FFmpeg-devel,4/8] lavfi/vf_coreimage: set frame durations

Message ID 20221010161055.18948-4-anton@khirnov.net
State Accepted
Commit 0ce7a86e317d7177778e92259c130f5dab919e69
Headers show
Series [FFmpeg-devel,1/8] lavfi/f_drawgraph: forward input frame durations | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Anton Khirnov Oct. 10, 2022, 4:10 p.m. UTC
This filter is supposed to produce CFR output.
---
 libavfilter/vf_coreimage.m | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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;