Browse Source

sunrastenc: set keyframe flag for the output packet.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n0.11
Aneesh Dogra Anton Khirnov 14 years ago
parent
commit
1a58daed0f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/sunrastenc.c

+ 1
- 0
libavcodec/sunrastenc.c View File

@@ -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;
}


Loading…
Cancel
Save