TSDuck v3.40-3963
MPEG Transport Stream Toolkit
|
Command line arguments for section file processing. More...
#include <tsSectionFileArgs.h>
Public Member Functions | |
SectionFileArgs ()=default | |
Constructor. | |
void | defineArgs (Args &args) |
Add command line option definitions in an Args. | |
bool | loadArgs (DuckContext &duck, Args &args) |
Load arguments from command line. | |
bool | processSectionFile (SectionFile &file, Report &report) const |
Process the content of a section file according to the selected options. | |
Public Attributes | |
Time | eit_base_time {} |
Last midnight reference for EIT normalization. | |
bool | eit_normalize = false |
EIT normalization (ETSI TS 101 211). | |
EITOptions | eit_options {EITOptions::GEN_ALL} |
EIT normalization options. | |
bool | pack_and_flush = false |
Pack and flush incomplete tables before exiting. | |
Command line arguments for section file processing.
void ts::SectionFileArgs::defineArgs | ( | Args & | args | ) |
Add command line option definitions in an Args.
[in,out] | args | Command line arguments to update. |
bool ts::SectionFileArgs::loadArgs | ( | DuckContext & | duck, |
Args & | args | ||
) |
Load arguments from command line.
Args error indicator is set in case of incorrect arguments.
[in,out] | duck | TSDuck execution context. |
[in,out] | args | Command line arguments. |
bool ts::SectionFileArgs::processSectionFile | ( | SectionFile & | file, |
Report & | report | ||
) | const |
Process the content of a section file according to the selected options.
[in,out] | file | Section file to manipulate. |
[in,out] | report | Where to report errors. |