Set the mastering metadata on the muxers colour
Change-Id: I456ce8409303e06a4e832cbf80cb290ad9539abc
This commit is contained in:
parent
353b050071
commit
dd6ab35d85
@ -101,6 +101,8 @@ bool CopyColour(const mkvparser::Colour& parser_colour,
|
|||||||
mkvmuxer::MasteringMetadata muxer_mm;
|
mkvmuxer::MasteringMetadata muxer_mm;
|
||||||
if (!CopyMasteringMetadata(*parser_colour.mastering_metadata, &muxer_mm))
|
if (!CopyMasteringMetadata(*parser_colour.mastering_metadata, &muxer_mm))
|
||||||
return false;
|
return false;
|
||||||
|
if (!muxer_colour->SetMasteringMetadata(muxer_mm))
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user