TREX box completed and added to interface

This commit is contained in:
Erik Zandvliet 2011-02-06 14:34:59 +01:00
parent 1ac23854b7
commit b85be8b76c
7 changed files with 70 additions and 2 deletions

16
MP4/box_trex.h Normal file
View file

@ -0,0 +1,16 @@
#include "box.h"
class Box_trex {
public:
Box_trex( );
~Box_trex();
Box * GetBox();
void SetTrackID( uint32_t Id = 0 );
void SetSampleDescriptionIndex( uint32_t Index = 0 );
void SetSampleDuration( uint32_t Duration = 0 );
void SetSampleSize( uint32_t Size = 0 );
private:
void SetReserved( );
void SetDefaults( );
Box * Container;
};//Box_ftyp Class