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
|
|
@ -426,8 +426,7 @@ bool Session::populateDecoderProperties(SDL_Window* window)
|
|||
m_StreamConfig.colorRange);
|
||||
}
|
||||
else {
|
||||
// Limited is the default for GFE
|
||||
m_StreamConfig.colorRange = COLOR_RANGE_LIMITED;
|
||||
m_StreamConfig.colorRange = decoder->getDecoderColorRange();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue