mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00:00
avcodec/cdxl: also mark decoded frame as keyframe
This commit is contained in:
parent
ef46de695f
commit
72942ad6d4
@ -295,6 +295,7 @@ static int cdxl_decode_frame(AVCodecContext *avctx, void *data,
|
||||
if ((ret = ff_get_buffer(avctx, p, 0)) < 0)
|
||||
return ret;
|
||||
p->pict_type = AV_PICTURE_TYPE_I;
|
||||
p->key_frame = 1;
|
||||
|
||||
if (encoding) {
|
||||
av_fast_padded_malloc(&c->new_video, &c->new_video_size,
|
||||
|
Loading…
Reference in New Issue
Block a user