[Scummvm-git-logs] scummvm master -> 76dfe88b9a00f474624e1fe17dcb3a9cbdd7db5e

bluegr bluegr at gmail.com
Sat Jun 19 22:38:35 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
76dfe88b9a TRECISION: Mark the video frame calculation fix as a workaround


Commit: 76dfe88b9a00f474624e1fe17dcb3a9cbdd7db5e
    https://github.com/scummvm/scummvm/commit/76dfe88b9a00f474624e1fe17dcb3a9cbdd7db5e
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2021-06-20T01:38:25+03:00

Commit Message:
TRECISION: Mark the video frame calculation fix as a workaround

Changed paths:
    engines/trecision/video.cpp


diff --git a/engines/trecision/video.cpp b/engines/trecision/video.cpp
index d9bba5e07c..55416f9d29 100644
--- a/engines/trecision/video.cpp
+++ b/engines/trecision/video.cpp
@@ -159,8 +159,8 @@ void AnimManager::playMovie(const Common::String &filename, int startFrame, int
 
 	smkDecoder->start();
 
-	// If the video has a single choice, and it starts from the beginning,
-	// ignore the calculated end frame and play all of it
+	// WORKAROUND: If the video has a single choice, and it starts from
+	// the beginning, ignore the calculated end frame and play all of it
 	if (singleChoice && startFrame < 10 && endFrame < (int)smkDecoder->getFrameCount() - 1)
 		endFrame = smkDecoder->getFrameCount() - 1;
 




More information about the Scummvm-git-logs mailing list