idcin: set AV_PKT_FLAG_KEY for video packets with a palette
This commit is contained in:
parent
ccc0ffb1ba
commit
49543373f3
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue