Buffer.addProtectionMeta

Attaches protection metadata to a #GstBuffer.

Parameters

info gst.structure.Structure

a #GstStructure holding cryptographic information relating to the sample contained in buffer. This function takes ownership of info.

Return Value

Type: gst.protection_meta.ProtectionMeta

a pointer to the added #GstProtectionMeta if successful