---
libavcodec/qtrleenc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/qtrleenc.c b/libavcodec/qtrleenc.c
index 91dbb8b..7ed09de 100644
--- a/libavcodec/qtrleenc.c
+++ b/libavcodec/qtrleenc.c
@@ -329,6 +329,8 @@ static int qtrle_encode_frame(AVCodecContext *avctx,
AVPacket *pkt,
av_picture_copy(&s->previous_frame, (const AVPicture *)pict,
avctx->pix_fmt, avctx->width, avctx->height);
+ avctx->coded_frame->key_frame = s->key_frame;
+
if (s->key_frame)
pkt->flags |= AV_PKT_FLAG_KEY;
*got_packet = 1;
--
1.9.5 (Apple Git-50.3)
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel