Vector of audio language options.
More...
#include <tsAudioLanguageOptions.h>
Vector of audio language options.
◆ AudioLanguageOptionsVector() [1/2]
ts::AudioLanguageOptionsVector::AudioLanguageOptionsVector |
( |
size_type |
size = 0 | ) |
|
|
inlineexplicit |
Default constructor.
- Parameters
-
[in] | size | Initial number of elements in the list. Default: empty. |
◆ AudioLanguageOptionsVector() [2/2]
ts::AudioLanguageOptionsVector::AudioLanguageOptionsVector |
( |
Args & |
args, |
|
|
const UChar * |
option_name |
|
) |
| |
|
inline |
Constructor from a list of command-line options.
- Parameters
-
[in,out] | args | Command line arguments. Errors are also reported through the args object. |
[in] | option_name | The full name of the option. If the parameter is a null pointer or an empty string, this specifies a parameter, not an option. If the specified option was not declared in the syntax of the command or declared as a non-string type, a fatal error is reported. This object is populated with one element per occurrence of the option. |
◆ getFromArgs()
bool ts::AudioLanguageOptionsVector::getFromArgs |
( |
Args & |
args, |
|
|
const UChar * |
option_name |
|
) |
| |
Assign from a list of command-line options.
- Parameters
-
[in,out] | args | Command line arguments. Errors are also reported through the args object. |
[in] | option_name | The full name of the option. If the parameter is a null pointer or an empty string, this specifies a parameter, not an option. If the specified option was not declared in the syntax of the command or declared as a non-string type, a fatal error is reported. This object is populated with one element per occurrence of the option. |
- Returns
- True on success, false on error.
◆ apply()
Apply requested transformations on a PMT.
- Parameters
-
[in,out] | duck | TSDuck execution environment. |
[in,out] | pmt | The PMT to update. All audio streams are modified according to the content of this vector of audio options. |
[in] | severity | Severity of errors (ts::Severity::Error by default). |
- Returns
- True on success, false on error.
The documentation for this class was generated from the following file: