diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-08-31 01:07:18 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-08-31 01:15:22 +0300 |
commit | 72942ad6d4b243389d84e7e95641152ad9148bd9 (patch) | |
tree | fec97b595e56d74e830df45f76f9d8bff0907eda | |
parent | ef46de695f1f54ec1025ec20c07b25685787d956 (diff) |
avcodec/cdxl: also mark decoded frame as keyframe
-rw-r--r-- | libavcodec/cdxl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/cdxl.c b/libavcodec/cdxl.c index 78f5d50102..7c82967df0 100644 --- a/libavcodec/cdxl.c +++ b/libavcodec/cdxl.c @@ -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, |