Colour element: TransferFunction renamed to TransferCharacteristics.

Change-Id: I02e8d9b375d3aeba26d99866df90e25e1605143f
This commit is contained in:
Tom Finegan
2016-02-18 12:02:18 -08:00
parent f2fc28e044
commit 2d0912837c
7 changed files with 21 additions and 17 deletions

View File

@@ -5155,10 +5155,10 @@ bool Colour::Parse(IMkvReader* reader, long long colour_start,
colour_ptr->range = UnserializeUInt(reader, read_pos, child_size);
if (colour_ptr->range < 0)
return false;
} else if (child_id == mkvmuxer::kMkvTransferFunction) {
colour_ptr->transfer_function =
} else if (child_id == mkvmuxer::kMkvTransferCharacteristics) {
colour_ptr->transfer_characteristics =
UnserializeUInt(reader, read_pos, child_size);
if (colour_ptr->transfer_function < 0)
if (colour_ptr->transfer_characteristics < 0)
return false;
} else if (child_id == mkvmuxer::kMkvPrimaries) {
colour_ptr->primaries = UnserializeUInt(reader, read_pos, child_size);