diff mbox series

[FFmpeg-devel,5/5] lavfi/src_avsynctest: set video frame durations

Message ID 20221011095445.27001-5-anton@khirnov.net
State Accepted
Commit 9e8a327e68404f203451a80e0f0555a157f8fccf
Headers show
Series [FFmpeg-devel,1/5] lavfi/vf_framepack: properly set output duration for framesequence output | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Anton Khirnov Oct. 11, 2022, 9:54 a.m. UTC
This filter produces CFR video output.
---
 libavfilter/src_avsynctest.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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);
 }