Skip to main content

CodecProbe

Type Alias CodecProbe 

Source
pub type CodecProbe = fn(&[u8]) -> bool;
Expand description

A bitstream-probe function that inspects the first bytes of a packet and returns true if this codec can decode it. Lets the registry disambiguate the many container tags that get mislabelled in the wild (most famous: AVI FourCC DIV3 routing to MPEG-4 Part 2 instead of MS-MPEG4v3).