[Stable] Interface contains an UpdateContents() function, which updates all the contents of the boxes
This commit is contained in:
parent
1d56214cd1
commit
1c69d2dbc8
22 changed files with 40 additions and 23 deletions
|
@ -24,11 +24,10 @@ void Box_stsc::AddEntry( uint32_t FirstChunk, uint32_t SamplesPerChunk, uint32_t
|
|||
Entries[Offset].FirstChunk = FirstChunk;
|
||||
Entries[Offset].SamplesPerChunk = SamplesPerChunk;
|
||||
Entries[Offset].SampleDescIndex = SampleDescIndex;
|
||||
WriteEntries( );
|
||||
}
|
||||
|
||||
|
||||
void Box_stsc::WriteEntries( ) {
|
||||
void Box_stsc::WriteContent( ) {
|
||||
Container->ResetPayload();
|
||||
SetReserved( );
|
||||
if(!Entries.empty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue