You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/mov: don't mark an item referenced by a grid as dependent if it's the primary item
If it's the primary item, then it's expected to be ready for presentation even outside of the grid it belongs to. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -9443,7 +9443,8 @@ static int mov_parse_tiles(AVFormatContext *s)
|
||||
if (err < 0 && err != AVERROR(EEXIST))
|
||||
return err;
|
||||
|
||||
st->disposition |= AV_DISPOSITION_DEPENDENT;
|
||||
if (item->item_id != mov->primary_item_id)
|
||||
st->disposition |= AV_DISPOSITION_DEPENDENT;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user