Struct gstreamer::StaticCaps[][src]

#[repr(C)]
pub struct StaticCaps(_);

Datastructure to initialize Caps from a string description usually used in conjunction with GST_STATIC_CAPS() and StaticCaps::get to instantiate a Caps.

Methods

impl StaticCaps
[src]

Converts a StaticCaps to a Caps.

Returns

a pointer to the Caps. Unref after usage. Since the core holds an additional ref to the returned caps, use gst_caps_make_writable on the returned caps to modify it.

Trait Implementations

impl Send for StaticCaps
[src]

impl Sync for StaticCaps
[src]

impl StaticType for StaticCaps
[src]

Returns the type identifier of Self.