Select correct color matrix for 10-bit SDR

This commit is contained in:
ns6089 authored and Cameron Gutman committed 2025-11-05 00:13:25 -06:00
1 parent 181dba5864
commit af37002a60
2 files changed
+2 -2

No files matched your search

@@ -264,7 +264,7 @@ public:
if (colorspace != m_LastColorSpace || fullRange != m_LastFullRange || m_HdrMetadataChanged) {
CGColorSpaceRef newColorSpace;
ParamBuffer paramBuffer;
int bits = (colorspace == COLORSPACE_REC_2020) ? 10 : 8;
int bits = (m_VideoFormat & VIDEO_FORMAT_MASK_10BIT) ? 10 : 8;
// Stop the display link before changing the Metal layer
stopDisplayLink();