Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-10-05 12:11:08 +0300
committerAnton Khirnov <anton@khirnov.net>2022-10-13 11:19:13 +0300
commit0ce7a86e317d7177778e92259c130f5dab919e69 (patch)
tree7e9050af39311b36bce7df07bf5071e8db340509 /libavfilter
parent19c701fac86ba069461b5ca1c572467f492c4f57 (diff)
lavfi/vf_coreimage: set frame durations
This filter is supposed to produce CFR output.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_coreimage.m1
1 files changed, 1 insertions, 0 deletions
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;