parse_launch
function parse_launch(pipeline_description:String):Gst.Element { // Gjs wrapper for gst_parse_launch() }
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.
- pipeline_description
the command line describing the pipeline
- Returns
a new element on success, null on failure. If more than one toplevel element is specified by the pipeline_description, all elements are put into a Gst.Pipeline, which than is returned.