![]() |
TSDuck v3.43-4480
MPEG Transport Stream Toolkit
|
Demux status information. More...
#include <tsSectionDemux.h>
Public Member Functions | |
| Status () | |
| Default constructor. | |
| Status (const SectionDemux &demux) | |
| Constructor from the current status of a SectionDemux. | |
| void | display (Report &report, int level=Severity::Info, const UString &prefix=UString(), bool errors_only=false) const |
| Display the content of a status block. | |
| std::ostream & | display (std::ostream &strm, int indent=0, bool errors_only=false) const |
| Display the content of a status block. | |
| bool | hasErrors () const |
| Check if any counter is non zero. | |
| void | reset () |
| Reset the content of the demux status. | |
Public Attributes | |
| uint64_t | discontinuities |
| Number of TS packets discontinuities. | |
| uint64_t | inv_sect_index |
| Number of invalid section index. | |
| uint64_t | inv_sect_length |
| Number of invalid section length. | |
| uint64_t | inv_sect_version |
| Number of invalid section version (version unchanged with content change). | |
| uint64_t | invalid_ts |
| Number of invalid TS packets. | |
| uint64_t | is_next |
| Number of sections with "next" flag (not yet applicable). | |
| uint64_t | scrambled |
| Number of scrambled TS packets (undecoded). | |
| uint64_t | truncated_sect |
| Number of truncated sections. | |
| uint64_t | wrong_crc |
| Number of sections with wrong CRC32. | |
Demux status information.
It contains error counters.
| ts::SectionDemux::Status::Status | ( | const SectionDemux & | demux | ) |
Constructor from the current status of a SectionDemux.
| [in] | demux | A section demux. |
| bool ts::SectionDemux::Status::hasErrors | ( | ) | const |
Check if any counter is non zero.
| std::ostream & ts::SectionDemux::Status::display | ( | std::ostream & | strm, |
| int | indent = 0, |
||
| bool | errors_only = false |
||
| ) | const |
Display the content of a status block.
| [in,out] | strm | A standard stream in output mode. |
| [in] | indent | Left indentation size. |
| [in] | errors_only | If true, don't report zero counters. |
| void ts::SectionDemux::Status::display | ( | Report & | report, |
| int | level = Severity::Info, |
||
| const UString & | prefix = UString(), |
||
| bool | errors_only = false |
||
| ) | const |