[FFmpeg-cvslog] avcodec/cdxl: also mark decoded frame as keyframe
Paul B Mahol
git at videolan.org
Mon Aug 31 01:16:18 EEST 2020
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Aug 31 00:07:18 2020 +0200| [72942ad6d4b243389d84e7e95641152ad9148bd9] | committer: Paul B Mahol
avcodec/cdxl: also mark decoded frame as keyframe
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=72942ad6d4b243389d84e7e95641152ad9148bd9
---
libavcodec/cdxl.c | 1 +
1 file changed, 1 insertion(+)
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,
More information about the ffmpeg-cvslog
mailing list