Element.makeFromUri

Creates an element for handling the given URI.

class Element
static
makeFromUri
(,
string uri
,)

Parameters

type GstURIType

Whether to create a source or a sink

uri string

URI to create an element for

elementname string

Name of created element, can be %NULL.

Return Value

Type: Element

a new element or %NULL if none could be created

Throws

GException on failure.

Meta