Improved TS packet class internals

This commit is contained in:
Thulinma 2016-12-27 23:28:50 +01:00
parent f0fa0e206b
commit 5dfebb5b26
2 changed files with 25 additions and 17 deletions

View file

@ -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();