[Scummvm-git-logs] scummvm master -> 7a61a2328b921b3809660a69c07b978bb0f33877

sev- noreply at scummvm.org
Sat Jan 25 17:54:28 UTC 2025


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:
7a61a2328b TESTBED: Prefer the best video format for video output


Commit: 7a61a2328b921b3809660a69c07b978bb0f33877
    https://github.com/scummvm/scummvm/commit/7a61a2328b921b3809660a69c07b978bb0f33877
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-01-25T18:54:14+01:00

Commit Message:
TESTBED: Prefer the best video format for video output

Changed paths:
    engines/testbed/video.cpp


diff --git a/engines/testbed/video.cpp b/engines/testbed/video.cpp
index 8f4fc99e56b..06e2ecaeda2 100644
--- a/engines/testbed/video.cpp
+++ b/engines/testbed/video.cpp
@@ -77,7 +77,7 @@ Common::Error Videotests::videoTest(Common::SeekableReadStream *stream, const Co
 
 			if (!video->setOutputPixelFormat(pixelformat)) {
 				// TODO: Search for the pixel format in supportedFormatsList?
-				pixelformat = video->getPixelFormat();
+				warning("Format mismatch. Video will be converted");
 			}
 		}
 	}




More information about the Scummvm-git-logs mailing list