[Scummvm-git-logs] scummvm master -> 98d38dae31b812aa13f8bddb9739f86a552cf0ee

ccawley2011 noreply at scummvm.org
Sun May 3 14:32:09 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
98d38dae31 TESTBED: Support playing MPEG-PS files in the video test


Commit: 98d38dae31b812aa13f8bddb9739f86a552cf0ee
    https://github.com/scummvm/scummvm/commit/98d38dae31b812aa13f8bddb9739f86a552cf0ee
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2026-05-03T15:32:00+01:00

Commit Message:
TESTBED: Support playing MPEG-PS files in the video test

Changed paths:
    engines/testbed/video.cpp


diff --git a/engines/testbed/video.cpp b/engines/testbed/video.cpp
index a348f1da114..77e54cdc373 100644
--- a/engines/testbed/video.cpp
+++ b/engines/testbed/video.cpp
@@ -25,6 +25,7 @@
 #include "video/avi_decoder.h"
 #include "video/dxa_decoder.h"
 #include "video/flic_decoder.h"
+#include "video/mpegps_decoder.h"
 #include "video/mve_decoder.h"
 #include "video/qt_decoder.h"
 #include "video/qt_data.h"
@@ -71,6 +72,8 @@ Common::Error Videotests::videoTest(Common::SeekableReadStream *stream, const Co
 		video = new Video::DXADecoder();
 	} else if (name.hasSuffixIgnoreCase(".flc")) {
 		video = new Video::FlicDecoder();
+	} else if (name.hasSuffixIgnoreCase(".mpg") || name.hasSuffixIgnoreCase(".mpeg")) {
+		video = new Video::MPEGPSDecoder();
 	} else if (name.hasSuffixIgnoreCase(".mve")) {
 		video = new Video::MveDecoder();
 	} else if (name.hasSuffixIgnoreCase(".smk")) {




More information about the Scummvm-git-logs mailing list