Introduce full range color option

This commit is contained in:
Cameron Gutman
2022-11-29 19:10:19 -06:00
parent 24aa0fecbe
commit a6c8db6c2c
4 changed files with 18 additions and 1 deletions

View File

@@ -344,7 +344,12 @@ public class MediaCodecDecoderRenderer extends VideoDecoderRenderer implements C
}
public int getPreferredColorRange() {
return MoonBridge.COLOR_RANGE_LIMITED;
if (prefs.fullRange) {
return MoonBridge.COLOR_RANGE_FULL;
}
else {
return MoonBridge.COLOR_RANGE_LIMITED;
}
}
public void notifyVideoForeground() {