Add a decoder/renderer callback to specify the desired color range
This commit is contained in:
parent
7a39daf179
commit
c55af7fff3
7 changed files with 20 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue