Function gstreamer_base::functions::type_find_helper

source ·
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


A source gst::Pad


The length in bytes


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