Skip to main content

normalize_decoder_codec_identifier

Function normalize_decoder_codec_identifier 

Source
pub fn normalize_decoder_codec_identifier(codec: &str) -> String
Expand description

Normalizes MIME-wrapped and profile-qualified decoder codec identifiers.

Profile suffix removal is intentionally limited to standardized sample entry identifiers. Custom codec names retain dots so unrelated identities cannot collapse onto the same capability.