mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-11 02:06:11 +00:00
Add a decoder/renderer callback to specify the desired color range
This commit is contained in:
@@ -92,6 +92,11 @@ int FFmpegVideoDecoder::getDecoderColorspace()
|
||||
return m_FrontendRenderer->getDecoderColorspace();
|
||||
}
|
||||
|
||||
int FFmpegVideoDecoder::getDecoderColorRange()
|
||||
{
|
||||
return m_FrontendRenderer->getDecoderColorRange();
|
||||
}
|
||||
|
||||
QSize FFmpegVideoDecoder::getDecoderMaxResolution()
|
||||
{
|
||||
if (m_BackendRenderer->getRendererAttributes() & RENDERER_ATTRIBUTE_1080P_MAX) {
|
||||
|
||||
Reference in New Issue
Block a user