|
gstreamer
|
Types and functions used to define and parse module configuration options. More...

Files | |
| file | gstreamer_options.h |
| Option and configuration helpers for the gstreamer module. | |
Data Structures | |
| struct | GStreamerDefinition |
| Lightweight description of one configured gstreamer output. More... | |
Functions | |
| vector< GStreamerDefinition > | gstreamer::getGStreamerDefinition (const std::shared_ptr< GOptions > &gopts) |
| Parse all configured gstreamer output definitions from the options container. | |
| GOptions | gstreamer::defineOptions () |
| Define the options contributed by the gstreamer module. | |
| GOptions gstreamer::defineOptions | ( | ) |
The returned GOptions object contains:
ebuffer and -gstreamer This function is typically used by applications and examples as the module entry point for command-line configuration.
Definition at line 41 of file gstreamer_options.cc.
| std::vector< GStreamerDefinition > gstreamer::getGStreamerDefinition | ( | const std::shared_ptr< GOptions > & | gopts | ) |
This function reads the "gstreamer" option node and converts each object entry into a GStreamerDefinition value. Each entry is expected to provide:
format : plugin format selectorfilename : base output filenametype : semantic output type, defaulting to "event" when omittedThe returned vector preserves the order found in the option node, which is useful when the caller wants output instantiation or reporting to follow user configuration order.
| gopts | Parsed options container supplying the "gstreamer" node. |
Definition at line 16 of file gstreamer_options.cc.