diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-08-02 00:08:28 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2013-01-09 23:49:06 +0400 |
commit | 49543373f3e5871fe91e46b351d29e8f79441efc (patch) | |
tree | 41e4ad6796656a54887194422849a5d24b4fe5af /libavformat/idcin.c | |
parent | ccc0ffb1ba3fc1adb05a9f56dfc26131e61db3fb (diff) |
idcin: set AV_PKT_FLAG_KEY for video packets with a palette
Diffstat (limited to 'libavformat/idcin.c')
-rw-r--r-- | libavformat/idcin.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |