[Scummvm-git-logs] scummvm master -> d8886e475b3d93d045eda915061a095ffb0fbd41
elasota
noreply at scummvm.org
Sat Jun 25 04:18:04 UTC 2022
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:
d8886e475b MTROPOLIS: Fix paused videos taking a long time to unpause.
Commit: d8886e475b3d93d045eda915061a095ffb0fbd41
https://github.com/scummvm/scummvm/commit/d8886e475b3d93d045eda915061a095ffb0fbd41
Author: elasota (ejlasota at gmail.com)
Date: 2022-06-25T00:17:42-04:00
Commit Message:
MTROPOLIS: Fix paused videos taking a long time to unpause.
Changed paths:
engines/mtropolis/elements.cpp
diff --git a/engines/mtropolis/elements.cpp b/engines/mtropolis/elements.cpp
index ad1f0569564..ed469ff55bf 100644
--- a/engines/mtropolis/elements.cpp
+++ b/engines/mtropolis/elements.cpp
@@ -761,7 +761,7 @@ void MovieElement::playMedia(Runtime *runtime, Project *project) {
if (_shouldPlayIfNotPaused) {
if (_paused) {
// Goal state is paused
- if (_videoDecoder->isPlaying()) {
+ if (_videoDecoder->isPlaying() && !_videoDecoder->isPaused()) {
_videoDecoder->pauseVideo(true);
_currentPlayState = kMediaStatePaused;
}
More information about the Scummvm-git-logs
mailing list