failure. If more than one toplevel element is specified by the pipeline_description, all elements are put into a #GstPipeline, which than is returned.
parseLaunch
fn
gst.element.Element parseLaunch(string pipelineDescription)Create a new pipeline based on command line syntax. Please note that you might get a return value that is not null even though the error is set. In this case there was a recoverable parsing error and you can try to play the pipeline.
To create a sub-pipeline (bin) for embedding into an existing pipeline use [gst.global.parseBinFromDescription].
Parameters
pipelineDescription | the command line describing the pipeline |
Returns
a new element on success, null on
Throws
[ErrorWrap]