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:
Bastien Bouclet 2019-02-02 13:30:44 +01:00
parent 27a7a67778
commit f72f71a6cc

View file

@ -313,6 +313,7 @@ void QuickTimeDecoder::VideoTrackHandler::checkEditListBounds() {
EditListEntry &edit = _parent->editList[i];
if (edit.mediaTime < 0) {
offset += edit.trackDuration;
continue; // Ignore empty edits
}