mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-23 16:43:59 +00:00
Plumb colorspace and color range into MediaCodecDecoderRenderer
This commit is contained in:
1 parent
2cbc94e51d
commit
d0432de981
6 files changed
+47
-4
No files matched your search
@@ -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