Added MOOF and TRAF boxes

This commit is contained in:
Erik Zandvliet 2012-09-25 12:46:49 +02:00 committed by Thulinma
parent 6c7eeec575
commit 5b3a53e9f5
2 changed files with 114 additions and 8 deletions

View file

@ -150,13 +150,21 @@ namespace MP4{
class MOOF : public Box {
public:
MOOF();
void addContent( Box* newContent );
void regenerate( );
long getContentCount();
void setContent( Box newContent, long no );
Box getContent( long no );
std::string toPrettyString(int indent = 0);
private:
std::deque<Box*> content;
};//MOOF Box
class TRAF : public Box {
public:
TRAF();
long getContentCount();
void setContent( Box newContent, long no );
Box getContent( long no );
std::string toPrettyString(int indent = 0);
};//TRAF Box
struct trunSampleInformation {
long sampleDuration;
long sampleSize;