![]() |
TSDuck v3.46-4965
MPEG Transport Stream Toolkit
|
#include <tsAudioLanguageOptions.h>


Public Types | |
| using | SuperClass = std::vector<AudioLanguageOptions> |
Public Member Functions | |
| AudioLanguageOptionsVector (Args &args, const UChar *option_name) | |
| AudioLanguageOptionsVector (size_type size=0) | |
| bool | apply (DuckContext &duck, PMT &pmt, int severity=Severity::Error) const |
| bool | getFromArgs (Args &args, const UChar *option_name) |
Vector of audio language options.
| using ts::AudioLanguageOptionsVector::SuperClass = std::vector<AudioLanguageOptions> |
Explicit naming of superclass.
|
inlineexplicit |
Default constructor.
| [in] | size | Initial number of elements in the list. Default: empty. |
|
inline |
Constructor from a list of command-line options.
| [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. |
Assign from a list of command-line options.
| [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. |
| bool ts::AudioLanguageOptionsVector::apply | ( | DuckContext & | duck, |
| PMT & | pmt, | ||
| int | severity = Severity::Error ) const |
Apply requested transformations on a PMT.
| [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). |