Set the mastering metadata on the muxers colour

Change-Id: I456ce8409303e06a4e832cbf80cb290ad9539abc
This commit is contained in:
Neil Birkbeck 2016-02-22 10:54:58 -08:00
parent 353b050071
commit dd6ab35d85

View File

@ -101,6 +101,8 @@ bool CopyColour(const mkvparser::Colour& parser_colour,
mkvmuxer::MasteringMetadata muxer_mm;
if (!CopyMasteringMetadata(*parser_colour.mastering_metadata, &muxer_mm))
return false;
if (!muxer_colour->SetMasteringMetadata(muxer_mm))
return false;
}
return true;
}