[Scummvm-git-logs] scummvm master -> 0f1e9f19c38b3ff83d4ccd93579f8f4eebc30b3b

rvanlaar roland at rolandvanlaar.nl
Fri Jun 4 11:24:47 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:
0f1e9f19c3 Revert "DIRECTOR: Continue playing videos even if they are audio-only"


Commit: 0f1e9f19c38b3ff83d4ccd93579f8f4eebc30b3b
    https://github.com/scummvm/scummvm/commit/0f1e9f19c38b3ff83d4ccd93579f8f4eebc30b3b
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2021-06-04T13:02:42+02:00

Commit Message:
Revert "DIRECTOR: Continue playing videos even if they are audio-only"

This codechange resulted in a video playing too fast and getting
out of sync with the audio.
The audio playback speed was normal.

This reverts commit 3d8523a86eb60c8486130091baa7261c89cc27a6.

Changed paths:
    engines/director/castmember.cpp


diff --git a/engines/director/castmember.cpp b/engines/director/castmember.cpp
index 0afd7c4f2b..a241ac41d2 100644
--- a/engines/director/castmember.cpp
+++ b/engines/director/castmember.cpp
@@ -334,7 +334,7 @@ bool DigitalVideoCastMember::isModified() {
 	if (!_video || !_video->isVideoLoaded())
 		return true;
 
-	if (_video->isPlaying())
+	if (_getFirstFrame)
 		return true;
 
 	if (_channel->_movieRate == 0.0)




More information about the Scummvm-git-logs mailing list