Commit 1a58daed authored by Aneesh Dogra's avatar Aneesh Dogra Committed by Anton Khirnov

sunrastenc: set keyframe flag for the output packet.

Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 445a7d48
......@@ -199,6 +199,7 @@ static int sunrast_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
AV_WB32(&avpkt->data[16], s->length);
*got_packet_ptr = 1;
avpkt->flags |= AV_PKT_FLAG_KEY;
avpkt->size = bytestream2_tell_p(&s->p);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment