Function gstreamer::functions::parse_launchv_full[][src]

pub fn parse_launchv_full(
    argv: &[&str],
    context: Option<&mut ParseContext>,
    flags: ParseFlags
) -> Result<Element, Error>
Expand description

Create a new element based on command line syntax. error will contain an error message if an erroneous pipeline is specified. An error does not mean that the pipeline could not be constructed.

argv

null-terminated array of arguments

context

a parse context allocated with ParseContext::new(), or None

flags

parsing options, or GST_PARSE_FLAG_NONE

Returns

a new element on success; on failure, either None or a partially-constructed bin or element will be returned and error will be set (unless you passed ParseFlags::FATAL_ERRORS in flags, then None will always be returned on failure)