Skip to main content

sniff_keyframe

Function sniff_keyframe 

Source
pub fn sniff_keyframe(codec: Codec, data: &[u8]) -> Option<bool>
Expand description

Cheap bitstream inspection for the codecs whose keyframes can be recognized without a full parse; None when the codec gives no such signal and the caller’s flag must be trusted.