Buffer.addProtectionMeta
gst.protection_meta.ProtectionMeta addProtectionMeta(gst.structure.Structure info)Attaches protection metadata to a #GstBuffer.
Parameters
info | a #GstStructure holding cryptographic information relating to the sample contained in buffer. This function takes ownership of info. |
Returns
a pointer to the added #GstProtectionMeta if successful