Fix accidentally inverted condition for VUI parameter removal

This commit is contained in:
Cameron Gutman 2020-01-03 21:59:25 -06:00
parent 44c3b0af57
commit 8dcdf73222

View File

@ -719,7 +719,7 @@ public class MediaCodecDecoderRenderer extends VideoDecoderRenderer {
// GFE 2.5.11 changed the SPS to add additional extensions // GFE 2.5.11 changed the SPS to add additional extensions
// Some devices don't like these so we remove them here on old devices. // Some devices don't like these so we remove them here on old devices.
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
sps.vuiParams.videoSignalTypePresentFlag = false; sps.vuiParams.videoSignalTypePresentFlag = false;
sps.vuiParams.colourDescriptionPresentFlag = false; sps.vuiParams.colourDescriptionPresentFlag = false;
sps.vuiParams.chromaLocInfoPresentFlag = false; sps.vuiParams.chromaLocInfoPresentFlag = false;