From 49543373f3e5871fe91e46b351d29e8f79441efc Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 1 Aug 2012 16:08:28 -0400 Subject: idcin: set AV_PKT_FLAG_KEY for video packets with a palette --- libavformat/idcin.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/idcin.c') diff --git a/libavformat/idcin.c b/libavformat/idcin.c index 697b97290b..122fd8ebe4 100644 --- a/libavformat/idcin.c +++ b/libavformat/idcin.c @@ -290,6 +290,7 @@ static int idcin_read_packet(AVFormatContext *s, if (ret < 0) return ret; memcpy(pal, palette, AVPALETTE_SIZE); + pkt->flags |= AV_PKT_FLAG_KEY; } pkt->stream_index = idcin->video_stream_index; pkt->duration = 1; -- cgit v1.2.3