mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-18 12:56:56 +00:00
lavfi/vf_coreimage: set frame durations
This filter is supposed to produce CFR output.
This commit is contained in:
parent
19c701fac8
commit
0ce7a86e31
@ -300,6 +300,7 @@ static int request_frame(AVFilterLink *link)
|
|||||||
}
|
}
|
||||||
|
|
||||||
frame->pts = ctx->pts;
|
frame->pts = ctx->pts;
|
||||||
|
frame->duration = 1;
|
||||||
frame->key_frame = 1;
|
frame->key_frame = 1;
|
||||||
frame->interlaced_frame = 0;
|
frame->interlaced_frame = 0;
|
||||||
frame->pict_type = AV_PICTURE_TYPE_I;
|
frame->pict_type = AV_PICTURE_TYPE_I;
|
||||||
|
Loading…
Reference in New Issue
Block a user