From f72f71a6cc1a6bcd1b92199457165e35a6362cee Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sat, 2 Feb 2019 13:30:44 +0100 Subject: VIDEO: Keep track of the duration of ignored edits Fixes inconsistent videos playing in Caldoria in the DVD version of JMP Pegasus Prime. --- video/qt_decoder.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'video') 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 } -- cgit v1.2.3