[Scummvm-git-logs] scummvm master -> 2930c0cd8df774f8a1aece752fcc23149242e341

tag2015 noreply at scummvm.org
Wed Jun 7 16:33:09 UTC 2023


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:
2930c0cd8d AGS: Skip video in Donna: Avenger of blood instead of crashing


Commit: 2930c0cd8df774f8a1aece752fcc23149242e341
    https://github.com/scummvm/scummvm/commit/2930c0cd8df774f8a1aece752fcc23149242e341
Author: Walter Agazzi (walter.agazzi at protonmail.com)
Date: 2023-06-07T18:13:35+02:00

Commit Message:
AGS: Skip video in Donna: Avenger of blood instead of crashing

The game opens with a short video showing the developer logo and
playing some "music", which uses an unsupported codec.
Fixes #13816

Changed paths:
    engines/ags/engine/ac/global_video.cpp


diff --git a/engines/ags/engine/ac/global_video.cpp b/engines/ags/engine/ac/global_video.cpp
index 059eda6ee13..f2418ee4a7a 100644
--- a/engines/ags/engine/ac/global_video.cpp
+++ b/engines/ags/engine/ac/global_video.cpp
@@ -19,6 +19,7 @@
  *
  */
 
+#include "common/config-manager.h"
 #include "ags/engine/ac/game_setup.h"
 #include "ags/engine/ac/game_state.h"
 #include "ags/engine/ac/global_audio.h"
@@ -94,6 +95,15 @@ void PlayVideo(const char *name, int skip, int scr_flags) {
 	if (_G(debug_flags) & DBG_NOVIDEO)
 		return;
 
+	// WORKAROUND: This video uses an unsupported codec and
+	// the decoder current implementation doesn't allow to
+	// continue gracefully
+	if (ConfMan.get("gameid") == "donnaavengerofblood" &&
+		!strcmp(name, "terminus")) {
+		warning("Skipped unsupported \'terminus\' video");
+		return;
+	}
+
 	// Convert PlayVideo flags to common video flags
 	/* NOTE: historically using decimal "flags"
 	default (0): the video will be played at original size,




More information about the Scummvm-git-logs mailing list