[FFmpeg-cvslog] idcin: set AV_PKT_FLAG_KEY for video packets with a palette

Justin Ruggles git at videolan.org
Thu Jan 10 12:50:11 CET 2013


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Wed Aug  1 16:08:28 2012 -0400| [49543373f3e5871fe91e46b351d29e8f79441efc] | committer: Justin Ruggles

idcin: set AV_PKT_FLAG_KEY for video packets with a palette

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=49543373f3e5871fe91e46b351d29e8f79441efc
---

 libavformat/idcin.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/idcin.c b/libavformat/idcin.c
index 697b972..122fd8e 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;



More information about the ffmpeg-cvslog mailing list