Buffer.addProtectionMeta

Attaches protection metadata to a #GstBuffer.

Parameters

infoa #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