Skip to content

Commit

Permalink
Add sdr-video encoding to virtual displays
Browse files Browse the repository at this point in the history
Signed-off-by: Doug Walker <[email protected]>
doug-walker committed Jan 23, 2025
1 parent a0edeb0 commit 9739c0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OpenColorIO/Config.cpp
Original file line number Diff line number Diff line change
@@ -1029,6 +1029,7 @@ class Config::Impl
oss << "Profile description: " << monitorDescription;
cs->setDescription(oss.str().c_str());
cs->setTransform(file, COLORSPACE_DIR_FROM_REFERENCE);
cs->setEncoding("sdr-video");

// Note that it adds it or updates the existing one.
m_allColorSpaces->addColorSpace(cs);

0 comments on commit 9739c0b

Please sign in to comment.