Color: Add undefined values to toString methods
This way, we can identify the undefined values later, if they're in use often. PiperOrigin-RevId: 619967637
This commit is contained in:
parent
c5e894e2d6
commit
0730a5976b
@ -421,7 +421,7 @@ public final class ColorInfo implements Bundleable {
|
||||
case C.COLOR_SPACE_BT2020:
|
||||
return "BT2020";
|
||||
default:
|
||||
return "Undefined color space";
|
||||
return "Undefined color space " + colorSpace;
|
||||
}
|
||||
}
|
||||
|
||||
@ -443,7 +443,7 @@ public final class ColorInfo implements Bundleable {
|
||||
case C.COLOR_TRANSFER_HLG:
|
||||
return "HLG";
|
||||
default:
|
||||
return "Undefined color transfer";
|
||||
return "Undefined color transfer " + colorTransfer;
|
||||
}
|
||||
}
|
||||
|
||||
@ -457,7 +457,7 @@ public final class ColorInfo implements Bundleable {
|
||||
case C.COLOR_RANGE_FULL:
|
||||
return "Full range";
|
||||
default:
|
||||
return "Undefined color range";
|
||||
return "Undefined color range " + colorRange;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user