ffmpeg | branch: master | Paul B Mahol <one...@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,

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to