pub fn type_find_helper(
    src: &impl IsA<Pad>,
    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.