A QtsSectionDemux which extracts MPEG tables without external handler. More...
Public Member Functions | |
QtsStandaloneTableDemux (const QtsPidSet &pidFilter=QtsNoPid) | |
Constructor. More... | |
virtual void | reset () Q_DECL_OVERRIDE |
Reset the analysis context (partially built sections and tables). More... | |
virtual void | resetPid (QtsPid pid) Q_DECL_OVERRIDE |
Reset the analysis context for one single PID. More... | |
const QtsTablePtr | tableAt (int index) const |
Get a pointer to a demuxed table. More... | |
int | tableCount () const |
Get the number of demuxed tables. More... | |
![]() | |
QtsSectionDemux (QtsTableHandlerInterface *tableHandler=0, QtsSectionHandlerInterface *sectionHandler=0, const QtsPidSet &pidFilter=QtsNoPid) | |
Constructor. More... | |
void | getStatus (Status &status) const |
Get the current status of the demux. More... | |
bool | hasErrors () const |
Check if the demux has errors. More... | |
void | setSectionHandler (QtsSectionHandlerInterface *handler) |
Set the section handler. More... | |
void | setTableHandler (QtsTableHandlerInterface *handler) |
Set the table handler. More... | |
![]() | |
QtsDemux (const QtsPidSet &pidFilter=QtsAllPids) | |
Constructor. More... | |
virtual | ~QtsDemux () |
Virtual destructor. More... | |
virtual void | addPid (QtsPid pid) |
Add a PID to filter. More... | |
void | feedPacket (const QtsTsPacket &packet) |
Feed the demux with a TS packet. More... | |
int | filteredPidCount () const |
Get the number of PID's which are filtered by the demux. More... | |
qint64 | lastPcr () const |
Get the last PCR found in the stream. More... | |
QtsPacketCounter | packetCount () const |
Get the number of process TS packets. More... | |
virtual void | removePid (QtsPid pid) |
Remove a PID to filter. More... | |
void | resetPacketCount () |
Reset the number of process TS packets. More... | |
virtual void | setPidFilter (const QtsPidSet &pidFilter) |
Set the list of PID's to filter. More... | |
Private Member Functions | |
virtual void | handleTable (QtsSectionDemux &demux, const QtsTable &table) Q_DECL_OVERRIDE |
This hook is invoked when a complete table is available. More... | |
void | setSectionHandler (QtsSectionHandlerInterface *handler) |
void | setTableHandler (QtsTableHandlerInterface *handler) |
![]() | |
virtual | ~QtsTableHandlerInterface () |
Virtual destructor. More... | |
Private Attributes | |
QtsTablePtrVector | _tables |
Demuxed tables. More... | |
A QtsSectionDemux which extracts MPEG tables without external handler.
Constructor.
[in] | pidFilter | Set of PID's to filter. Default: none. |
|
inline |
Get the number of demuxed tables.
|
inline |
Get a pointer to a demuxed table.
[in] | index | Index of demuxed table, in the range 0 to tableCount(). |
|
virtual |
Reset the analysis context (partially built sections and tables).
Useful when the transport stream changes. The PID filter and the handlers are not modified. Inherited from QtsSectionDemux
Reimplemented from QtsSectionDemux.
|
virtual |
Reset the analysis context for one single PID.
Inherited from QtsSectionDemux
[in] | pid | PID to reset. |
Reimplemented from QtsSectionDemux.
|
privatevirtual |
This hook is invoked when a complete table is available.
Tables with long sections are reported only when a new version is available.
[in,out] | demux | The section demux. |
[in] | table | The table. |
Implements QtsTableHandlerInterface.
|
private |
|
private |
|
private |
Demuxed tables.