mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 14:40:56 +00:00
Rec 601 seems to be a bit more accurate on macOS
This commit is contained in:
@@ -229,7 +229,7 @@ public:
|
|||||||
break;
|
break;
|
||||||
case AVCOL_SPC_SMPTE170M:
|
case AVCOL_SPC_SMPTE170M:
|
||||||
if (m_ColorSpace == nullptr) {
|
if (m_ColorSpace == nullptr) {
|
||||||
m_ColorSpace = CGColorSpaceCreateWithName(kCGColorSpaceITUR_709);
|
m_ColorSpace = CGColorSpaceCreateWithName(kCGColorSpaceSRGB);
|
||||||
}
|
}
|
||||||
CVBufferSetAttachment(pixBuf,
|
CVBufferSetAttachment(pixBuf,
|
||||||
kCVImageBufferYCbCrMatrixKey,
|
kCVImageBufferYCbCrMatrixKey,
|
||||||
@@ -521,8 +521,8 @@ public:
|
|||||||
|
|
||||||
int getDecoderColorspace() override
|
int getDecoderColorspace() override
|
||||||
{
|
{
|
||||||
// macOS seems to handle Rec 709 best
|
// macOS seems to handle Rec 601 best
|
||||||
return COLORSPACE_REC_709;
|
return COLORSPACE_REC_601;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user