[Stable] Interface contains an UpdateContents() function, which updates all the contents of the boxes

This commit is contained in:
Erik Zandvliet 2011-01-23 15:52:20 +01:00
parent 1d56214cd1
commit 1c69d2dbc8
22 changed files with 40 additions and 23 deletions

View file

@ -23,11 +23,10 @@ void Box_stts::AddEntry( uint32_t SampleCount, uint32_t SampleDelta, uint32_t Of
}
Entries[Offset].SampleCount = SampleCount;
Entries[Offset].SampleDelta = SampleDelta;
WriteEntries( );
}
void Box_stts::WriteEntries( ) {
void Box_stts::WriteContent( ) {
Container->ResetPayload();
SetReserved( );
if(!Entries.empty()) {