[Scummvm-git-logs] scummvm master -> e934ddeed50d8c313dca159e132129c7c824f6f7
lephilousophe
noreply at scummvm.org
Sun Jun 26 13:29:14 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:
e934ddeed5 VIDEO: Fix playing HNM videos without sound
Commit: e934ddeed50d8c313dca159e132129c7c824f6f7
https://github.com/scummvm/scummvm/commit/e934ddeed50d8c313dca159e132129c7c824f6f7
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2022-06-26T15:29:11+02:00
Commit Message:
VIDEO: Fix playing HNM videos without sound
Changed paths:
video/hnm_decoder.cpp
diff --git a/video/hnm_decoder.cpp b/video/hnm_decoder.cpp
index 20620cba390..44cee2e5f51 100644
--- a/video/hnm_decoder.cpp
+++ b/video/hnm_decoder.cpp
@@ -214,6 +214,7 @@ void HNMDecoder::HNMVideoTrack::newFrame(uint32 frameDelay) {
// We can't rely on a detection in the header as some soundless HNM indicate they have
if (frameDelay == uint32(-1)) {
_nextFrameStartTime = _nextFrameStartTime.addMsecs(_regularFrameDelayMs);
+ return;
}
// HNM decoders use sound double buffering to pace the frames
More information about the Scummvm-git-logs
mailing list