From 8272f482d9238bb3206fce1450b97ea41b46aa2b Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Wed, 22 Apr 2020 13:44:18 +1000 Subject: [PATCH] colormanager: temporarily hardcoding default input color space The first input color space is "linear" which is very rare for footage to be in. For simplicity, it'll default to sRGB for now. --- app/render/colormanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/render/colormanager.cpp b/app/render/colormanager.cpp index 6a956b308..20d1fe703 100644 --- a/app/render/colormanager.cpp +++ b/app/render/colormanager.cpp @@ -37,8 +37,8 @@ ColorManager::ColorManager() // Ensures config is set to something config_ = OCIO::GetCurrentConfig(); - // Default input space is first in config - default_input_color_space_ = ListAvailableInputColorspaces().first(); + // Default input space + default_input_color_space_ = QStringLiteral("sRGB OETF"); // Default reference space is scene linear reference_space_ = OCIO::ROLE_SCENE_LINEAR;