Plumb colorspace and color range into MediaCodecDecoderRenderer

This commit is contained in:
Cameron Gutman
2022-10-13 00:51:15 -05:00
parent 2cbc94e51d
commit d0432de981
6 changed files with 47 additions and 4 deletions
@@ -319,7 +319,9 @@ public class NvConnection {
context.streamConfig.getClientRefreshRateX100(),
context.streamConfig.getEncryptionFlags(),
context.riKey.getEncoded(), ib.array(),
context.videoCapabilities);
context.videoCapabilities,
context.streamConfig.getColorSpace(),
context.streamConfig.getColorRange());
if (ret != 0) {
// LiStartConnection() failed, so the caller is not expected
// to stop the connection themselves. We need to release their