1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavfi/vf_coreimage: set frame durations

This filter is supposed to produce CFR output.
This commit is contained in:
Anton Khirnov 2022-10-05 11:11:08 +02:00
parent 19c701fac8
commit 0ce7a86e31

View File

@ -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;