aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sunrastenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-20 00:47:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-02-20 01:29:30 +0100
commitbe2e211dce2964f922e5dee54a7569ebd6efb0da (patch)
treea1b6e3a9f5b577230d8c9c2b5b5bcba289ee79f5 /libavcodec/sunrastenc.c
parentf4f386dd00e594dc90eb32ae872ae8e22b08d179 (diff)
parent6b8b0fe2bc57fdd606074e52ba73cd9b3d95e644 (diff)
downloadffmpeg-be2e211dce2964f922e5dee54a7569ebd6efb0da.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: doxy: remove reference to removed api examples: unbreak compilation ttadec: cosmetics: reindent sunrast: use RLE trigger macro inplace of the hard coded value. sunrastenc: set keyframe flag for the output packet. mpegvideo_enc: switch to encode2(). mpegvideo_enc: force encoding delay of at least 1 frame when low_delay=0 Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/sunrastenc.c')
-rw-r--r--libavcodec/sunrastenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/sunrastenc.c b/libavcodec/sunrastenc.c
index 21d6fc47a0..a9b4749758 100644
--- a/libavcodec/sunrastenc.c
+++ b/libavcodec/sunrastenc.c
@@ -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;
}