[Scummvm-git-logs] scummvm master -> 301f0b4782e2082a849e47af8bb56571a14b2e13

sev- sev at scummvm.org
Tue Aug 11 23:16:41 UTC 2020


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:
301f0b4782 DIRECTOR: Added hacky way of startion Digital Video


Commit: 301f0b4782e2082a849e47af8bb56571a14b2e13
    https://github.com/scummvm/scummvm/commit/301f0b4782e2082a849e47af8bb56571a14b2e13
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-08-12T00:51:12+02:00

Commit Message:
DIRECTOR: Added hacky way of startion Digital Video

Changed paths:
    engines/director/castmember.cpp


diff --git a/engines/director/castmember.cpp b/engines/director/castmember.cpp
index 451d9456c6..cc7efa364d 100644
--- a/engines/director/castmember.cpp
+++ b/engines/director/castmember.cpp
@@ -288,6 +288,10 @@ Graphics::MacWidget *DigitalVideoCastMember::createWidget(Common::Rect &bbox) {
 		return nullptr;
 	}
 
+	// FIXME: HACK: We need to understand when really start the video
+	if (!_video->isPlaying())
+		_video->start();
+
 	const Graphics::Surface *frame = _video->decodeNextFrame();
 	if (frame) {
 		if (frame->format.bytesPerPixel != 1) {




More information about the Scummvm-git-logs mailing list