codecUtilsMpeg4videoCapsSetLevelAndProfile

fnbool codecUtilsMpeg4videoCapsSetLevelAndProfile(gst.caps.Caps caps, ubyte[] visObjSeq)

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

Parameters

capsthe #GstCaps to which the level and profile are to be added
visObjSeqPointer to the visual object sequence for the stream.

Returns

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