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
1 changed files with 1 additions and 0 deletions

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;