From a660c1362577149f66953e7429731ead8d5c73f4 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 24 Jul 2025 21:47:07 +1000 Subject: [PATCH] System: Always adjust video size for capture Fixes auto resolution size with non-multiple-of-4 window sizes. --- src/core/system.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 09b1c0177..43b69f568 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -5474,8 +5474,7 @@ bool System::StartMediaCapture(std::string path) const GSVector2i video_size = backend->GetPresenter().CalculateScreenshotSize(mode); u32 video_width = static_cast(video_size.x); u32 video_height = static_cast(video_size.y); - if (mode != DisplayScreenshotMode::ScreenResolution) - MediaCapture::AdjustVideoSize(&video_width, &video_height); + MediaCapture::AdjustVideoSize(&video_width, &video_height); // fire back to the CPU thread to actually start the capture Host::RunOnCPUThread([path = std::move(path), capture_audio, video_width, video_height]() mutable {