Skip to main content

parse_launch

Function parse_launch 

Source
pub fn parse_launch(
    registry: &Registry,
    pipeline: &str,
) -> Result<Graph<GraphNode>, ParseError>
Expand description

Parse a gst-launch-style pipeline string into a runnable Graph, building each element by name from registry, applying its key=value properties, and linking the chains (including tee branches) into the DAG. Roles follow connectivity. The result drops straight onto run_graph.

videotestsrc num-buffers=3 ! tee name=t ! fakesink   t. ! videoflip ! fakesink