codecUtilsH264CapsSetLevelAndProfile

fnbool codecUtilsH264CapsSetLevelAndProfile(gst.caps.Caps caps, ubyte[] sps)

Sets the level and profile in caps if it can be determined from sps. See [gstpbutils.global.codecUtilsH264GetLevel] and [gstpbutils.global.codecUtilsH264GetProfile] for more details on the parameters.

Parameters

capsthe #GstCaps to which the level and profile are to be added
spsPointer to the sequence parameter set for the stream.

Returns

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