VIDEO: Keep track of the duration of ignored edits
Fixes inconsistent videos playing in Caldoria in the DVD version of JMP Pegasus Prime.
This commit is contained in:
parent
27a7a67778
commit
f72f71a6cc
1 changed files with 1 additions and 0 deletions
|
@ -313,6 +313,7 @@ void QuickTimeDecoder::VideoTrackHandler::checkEditListBounds() {
|
|||
EditListEntry &edit = _parent->editList[i];
|
||||
|
||||
if (edit.mediaTime < 0) {
|
||||
offset += edit.trackDuration;
|
||||
continue; // Ignore empty edits
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue