TSDuck v3.39-3843
MPEG Transport Stream Toolkit
|
Command line arguments for transport stream packets dump. More...
#include <tsTSDumpArgs.h>
Public Member Functions | |
TSDumpArgs ()=default | |
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. | |
Public Attributes | |
uint32_t | dump_flags = 0 |
Dump options for Hexa and Packet::dump. | |
bool | log = false |
Option --log. | |
size_t | log_size = 0 |
Size to display with --log. | |
PIDSet | pids {} |
PID values to dump. | |
Command line arguments for transport stream packets dump.
void ts::TSDumpArgs::defineArgs | ( | Args & | args | ) |
Add command line option definitions in an Args.
[in,out] | args | Command line arguments to update. |
bool ts::TSDumpArgs::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. |