Struct gstreamer::ParseContext [−]
pub struct ParseContext(_);
Opaque structure.
Methods
impl ParseContext
[src]
impl ParseContext
pub fn new() -> Self
[src]
pub fn new() -> Self
Allocates a parse context for use with gst_parse_launch_full
or
gst_parse_launchv_full
.
Free-function: gst_parse_context_free
Returns
a newly-allocated parse context. Free
with ParseContext::free
when no longer needed.
pub fn get_missing_elements(&self) -> Vec<String>
[src]
pub fn get_missing_elements(&self) -> Vec<String>
Retrieve missing elements from a previous run of gst_parse_launch_full
or gst_parse_launchv_full
. Will only return results if an error code
of ParseError::NoSuchElement
was returned.
Returns
a
None
-terminated array of element factory name strings of missing
elements. Free with g_strfreev
when no longer needed.
Trait Implementations
impl Clone for ParseContext
impl Clone for ParseContext
fn clone(&self) -> ParseContext
fn clone(&self) -> ParseContext
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl StaticType for ParseContext
impl StaticType for ParseContext
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl Default for ParseContext
[src]
impl Default for ParseContext
Auto Trait Implementations
impl !Send for ParseContext
impl !Send for ParseContext
impl !Sync for ParseContext
impl !Sync for ParseContext