pub fn codec_utils_h264_caps_set_level_and_profile(
    caps: &mut CapsRef,
    sps: &[u8],
) -> Result<(), BoolError>
Expand description

Sets the level and profile in caps if it can be determined from sps. See codec_utils_h264_get_level() and codec_utils_h264_get_profile() for more details on the parameters.

§caps

the gst::Caps to which the level and profile are to be added

§sps

Pointer to the sequence parameter set for the stream.

§Returns

true if the level and profile could be set, false otherwise.