caps_set_level_and_profile


Description:

[ CCode ( cname = "gst_codec_utils_mpeg4video_caps_set_level_and_profile" ) ]
public bool caps_set_level_and_profile (Caps caps, uint8[] vis_obj_seq)

Sets the level and profile in caps if it can be determined from vis_obj_seq.

See get_level and get_profile for more details on the parameters.

Parameters:

caps

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

vis_obj_seq

Pointer to the visual object sequence for the stream.

len

Length of the data available in sps.

Returns:

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