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

Sets the level and profile in caps if it can be determined from vis_obj_seq. See codec_utils_mpeg4video_get_level() and codec_utils_mpeg4video_get_profile() for more details on the parameters.

§caps

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

§vis_obj_seq

Pointer to the visual object sequence for the stream.

§Returns

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