diff options
author | Bastien Bouclet | 2019-02-02 13:30:44 +0100 |
---|---|---|
committer | Bastien Bouclet | 2019-02-02 13:30:44 +0100 |
commit | f72f71a6cc1a6bcd1b92199457165e35a6362cee (patch) | |
tree | 9ae511a8f9a18729ad16b79c0a3f489365d94e33 /video | |
parent | 27a7a67778a1cd59e24ffe756b68cdd8888e19d4 (diff) | |
download | scummvm-rg350-f72f71a6cc1a6bcd1b92199457165e35a6362cee.tar.gz scummvm-rg350-f72f71a6cc1a6bcd1b92199457165e35a6362cee.tar.bz2 scummvm-rg350-f72f71a6cc1a6bcd1b92199457165e35a6362cee.zip |
VIDEO: Keep track of the duration of ignored edits
Fixes inconsistent videos playing in Caldoria in the DVD version of JMP
Pegasus Prime.
Diffstat (limited to 'video')
-rw-r--r-- | video/qt_decoder.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/qt_decoder.cpp b/video/qt_decoder.cpp index bb9a92225b..4a47c6ab6d 100644 --- a/video/qt_decoder.cpp +++ b/video/qt_decoder.cpp @@ -313,6 +313,7 @@ void QuickTimeDecoder::VideoTrackHandler::checkEditListBounds() { EditListEntry &edit = _parent->editList[i]; if (edit.mediaTime < 0) { + offset += edit.trackDuration; continue; // Ignore empty edits } |