Improved TS packet class internals
This commit is contained in:
parent
f0fa0e206b
commit
5dfebb5b26
2 changed files with 25 additions and 17 deletions
|
@ -59,6 +59,7 @@ namespace TS {
|
|||
//Helper functions
|
||||
operator bool() const;
|
||||
bool isPMT() const;
|
||||
bool isStream() const;
|
||||
void clear();
|
||||
void setDefaultPAT();
|
||||
unsigned int getDataSize() const;
|
||||
|
@ -157,6 +158,7 @@ namespace TS {
|
|||
void setPCRPID(short newVal);
|
||||
short getProgramInfoLength() const;
|
||||
void setProgramInfoLength(short newVal);
|
||||
void parseStreams();
|
||||
ProgramMappingEntry getEntry(int index) const;
|
||||
int getCRC() const;
|
||||
void calcCRC();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue