Format with google-java-format
This commit is contained in:
parent
f14732873f
commit
bbcf37dc9e
@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
* Common Library:
|
* Common Library:
|
||||||
* ExoPlayer:
|
* ExoPlayer:
|
||||||
|
* Add luma and chroma bitdepth to `ColorInfo`
|
||||||
|
[#491](https://github.com/androidx/media/pull/491).
|
||||||
* Transformer:
|
* Transformer:
|
||||||
* Track Selection:
|
* Track Selection:
|
||||||
* Add `DefaultTrackSelector.Parameters.allowAudioNonSeamlessAdaptiveness`
|
* Add `DefaultTrackSelector.Parameters.allowAudioNonSeamlessAdaptiveness`
|
||||||
|
@ -325,10 +325,14 @@ public final class ColorInfo implements Bundleable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String bitdepthsString = isBitdepthValid() ? lumaBitdepth + "/" + chromaBitdepth : "NA";
|
String bitdepthsString = isBitdepthValid() ? lumaBitdepth + "/" + chromaBitdepth : "NA";
|
||||||
String dataspaceString = isDataSpaceValid() ? Util.formatInvariant("%s/%s/%s",
|
String dataspaceString =
|
||||||
colorSpaceToString(colorSpace),
|
isDataSpaceValid()
|
||||||
colorRangeToString(colorRange),
|
? Util.formatInvariant(
|
||||||
colorTransferToString(colorTransfer)) : "NA";
|
"%s/%s/%s",
|
||||||
|
colorSpaceToString(colorSpace),
|
||||||
|
colorRangeToString(colorRange),
|
||||||
|
colorTransferToString(colorTransfer))
|
||||||
|
: "NA";
|
||||||
return bitdepthsString + "/" + dataspaceString;
|
return bitdepthsString + "/" + dataspaceString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user