QtlMovie 1.12 (A specialized FFmpeg front-end)
QtsProgramMapTable::StreamEntry Struct Reference

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...
 

Detailed Description

Describes a stream entry in the PMT.

Constructor & Destructor Documentation

◆ StreamEntry()

QtsProgramMapTable::StreamEntry::StreamEntry ( QtsPid  p = QTS_PID_NULL,
QtsStreamType  t = 0 
)
inline

Constructor.

Parameters
[in]pPID of the stream.
[in]tStream type.

Member Function Documentation

◆ isAudio()

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.

Returns
True if the stream carries audio.

◆ isVideo()

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.

Returns
True if the stream carries video.

◆ isSubtitles()

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.

Returns
True if the stream carries subtitles.

Member Data Documentation

◆ pid

QtsPid QtsProgramMapTable::StreamEntry::pid

PID of the stream.

◆ type

QtsStreamType QtsProgramMapTable::StreamEntry::type

Type of the stream.

◆ descs

QtsDescriptorList QtsProgramMapTable::StreamEntry::descs

Stream-level descriptor list.


The documentation for this struct was generated from the following files: