Added MOOF and TRAF boxes
This commit is contained in:
parent
6c7eeec575
commit
5b3a53e9f5
2 changed files with 114 additions and 8 deletions
16
lib/mp4.h
16
lib/mp4.h
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue