codecUtilsH264CapsSetLevelAndProfile
fn
bool 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
caps | the #GstCaps 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.