mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-08 17:06:19 +00:00
Plumb colorspace and color range into MediaCodecDecoderRenderer
This commit is contained in:
@@ -326,6 +326,14 @@ public class MediaCodecDecoderRenderer extends VideoDecoderRenderer implements C
|
||||
return false;
|
||||
}
|
||||
|
||||
public int getPreferredColorSpace() {
|
||||
return MoonBridge.COLORSPACE_REC_601;
|
||||
}
|
||||
|
||||
public int getPreferredColorRange() {
|
||||
return MoonBridge.COLOR_RANGE_LIMITED;
|
||||
}
|
||||
|
||||
public void notifyVideoForeground() {
|
||||
foreground = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user