Buffer.addProtectionMeta

Attaches protection metadata to a gstreamer.Buffer

class Buffer
addProtectionMeta

Parameters

info Structure

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

Return Value

a pointer to the added gstreamer.ProtectionMeta if successful; NULL if unsuccessful.

Meta