Skip to content
Snippets Groups Projects
Commit 49543373 authored by Justin Ruggles's avatar Justin Ruggles
Browse files

idcin: set AV_PKT_FLAG_KEY for video packets with a palette

parent ccc0ffb1
No related branches found
No related tags found
No related merge requests found
...@@ -290,6 +290,7 @@ static int idcin_read_packet(AVFormatContext *s, ...@@ -290,6 +290,7 @@ static int idcin_read_packet(AVFormatContext *s,
if (ret < 0) if (ret < 0)
return ret; return ret;
memcpy(pal, palette, AVPALETTE_SIZE); memcpy(pal, palette, AVPALETTE_SIZE);
pkt->flags |= AV_PKT_FLAG_KEY;
} }
pkt->stream_index = idcin->video_stream_index; pkt->stream_index = idcin->video_stream_index;
pkt->duration = 1; pkt->duration = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment