From c29b4b05192065e8cc74e73b87ecd6472f8cc928 Mon Sep 17 00:00:00 2001 From: Ryan Doupe Date: Tue, 13 Oct 2026 19:02:32 -0400 Subject: [PATCH] requesthandler: Include the ImageFormat helper in the sources handler GetSourceScreenshot calls Utils::ImageFormat::MimeType() since "utils: Move the screenshot MIME type into a helper" (#6), but RequestHandler_Sources.cpp never includes ImageFormat.h and nothing it includes pulls it in, so the plugin no longer compiles in a build with the frontend and obs-websocket: "'Utils::ImageFormat' has not been declared". The standalone helper test and the obs-studio PR builds, which skip the full app, did not catch it. Co-Authored-By: Claude Opus 5.5 --- src/requesthandler/RequestHandler_Sources.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/requesthandler/RequestHandler_Sources.cpp b/src/requesthandler/RequestHandler_Sources.cpp index 4dd26dc..857a1ce 100644 --- a/src/requesthandler/RequestHandler_Sources.cpp +++ b/src/requesthandler/RequestHandler_Sources.cpp @@ -24,6 +24,7 @@ with this program. If not, see #include #include "RequestHandler.h" +#include "../utils/ImageFormat.h" QImage TakeSourceScreenshot(obs_source_t *source, bool &success, uint32_t requestedWidth = 0, uint32_t requestedHeight = 0) {