Function gstreamer_base::type_find_helper[][src]

pub fn type_find_helper<P: IsA<Pad>>(
    src: &P,
    size: u64
) -> Result<Caps, BoolError>
Expand description

Tries to find what type of data is flowing from the given source gst::Pad.

Free-function: gst_caps_unref

src

A source gst::Pad

size

The length in bytes

Returns

the gst::Caps corresponding to the data stream. Returns None if no gst::Caps matches the data stream.