Describes a stream entry in the PMT. More...
Public Member Functions | |
StreamEntry (QtsPid p=QTS_PID_NULL, QtsStreamType t=0) | |
Constructor. More... | |
bool | isAudio () const |
Check if an elementary stream carries audio. More... | |
bool | isSubtitles () const |
Check if an elementary stream carries subtitles. More... | |
bool | isVideo () const |
Check if an elementary stream carries video. More... | |
Public Attributes | |
QtsDescriptorList | descs |
Stream-level descriptor list. More... | |
QtsPid | pid |
PID of the stream. More... | |
QtsStreamType | type |
Type of the stream. More... | |
Describes a stream entry in the PMT.
|
inline |
Constructor.
[in] | p | PID of the stream. |
[in] | t | Stream type. |
bool QtsProgramMapTable::StreamEntry::isAudio | ( | ) | const |
Check if an elementary stream carries audio.
Does not just look at the stream type, also analyzes the descriptor list for additional information.
bool QtsProgramMapTable::StreamEntry::isVideo | ( | ) | const |
Check if an elementary stream carries video.
Does not just look at the stream type, also analyzes the descriptor list for additional information.
bool QtsProgramMapTable::StreamEntry::isSubtitles | ( | ) | const |
Check if an elementary stream carries subtitles.
Does not just look at the stream type, also analyzes the descriptor list for additional information.
QtsPid QtsProgramMapTable::StreamEntry::pid |
PID of the stream.
QtsStreamType QtsProgramMapTable::StreamEntry::type |
Type of the stream.
QtsDescriptorList QtsProgramMapTable::StreamEntry::descs |
Stream-level descriptor list.