aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-10-05 11:11:08 +0200
committerAnton Khirnov <anton@khirnov.net>2022-10-13 10:19:13 +0200
commit0ce7a86e317d7177778e92259c130f5dab919e69 (patch)
tree7e9050af39311b36bce7df07bf5071e8db340509
parent19c701fac86ba069461b5ca1c572467f492c4f57 (diff)
downloadffmpeg-0ce7a86e317d7177778e92259c130f5dab919e69.tar.gz
lavfi/vf_coreimage: set frame durations
This filter is supposed to produce CFR output.
-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;