mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-20 05:16:38 +00: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:
parent
d78c75fe49
commit
8f33d8fa9b
@ -9443,7 +9443,8 @@ static int mov_parse_tiles(AVFormatContext *s)
|
|||||||
if (err < 0 && err != AVERROR(EEXIST))
|
if (err < 0 && err != AVERROR(EEXIST))
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
st->disposition |= AV_DISPOSITION_DEPENDENT;
|
if (item->item_id != mov->primary_item_id)
|
||||||
|
st->disposition |= AV_DISPOSITION_DEPENDENT;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user