Added SDTP box and AVCC::setPayload function
This commit is contained in:
parent
503f63af2b
commit
fbc59ba664
2 changed files with 37 additions and 3 deletions
11
lib/mp4.h
11
lib/mp4.h
|
@ -275,7 +275,6 @@ namespace MP4{
|
|||
std::string toPrettyString(long indent = 0);
|
||||
};
|
||||
|
||||
|
||||
class AVCC : public Box {
|
||||
public:
|
||||
AVCC();
|
||||
|
@ -298,6 +297,16 @@ namespace MP4{
|
|||
long getPPSLen( );
|
||||
char* getPPS( );
|
||||
std::string asAnnexB( );
|
||||
void setPayload( std::string newPayload );
|
||||
std::string toPrettyString(long indent = 0);
|
||||
};
|
||||
|
||||
class SDTP : public Box {
|
||||
public:
|
||||
SDTP();
|
||||
void setVersion( long newVersion );
|
||||
long getVersion( );
|
||||
void setValue( long newValue, size_t index );
|
||||
long getValue( size_t index );
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue