Add a decoder/renderer callback to specify the desired color range

This commit is contained in:
Cameron Gutman committed 2022-10-12 23:59:01 -05:00
1 parent 7a39daf179
commit c55af7fff3
7 files changed
+20 -2

No files matched your search

+1 -2
View File
@@ -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();
}
}