mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-28 15:00:21 +00:00
Select correct color matrix for 10-bit SDR
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user