caps_set_level_and_profile


Description:

[ CCode ( cname = "gst_codec_utils_h264_caps_set_level_and_profile" ) ]
public bool caps_set_level_and_profile (Caps caps, uint8[] sps)

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

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

sps

Pointer to the sequence parameter set for the stream.

len

Length of the data available in sps.

Returns:

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





2022 vala-language.org