Buffer.addProtectionMeta

Attaches protection metadata to a #GstBuffer.

class Buffer
addProtectionMeta

Parameters

info Structure

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

Return: a pointer to the added #GstProtectionMeta if successful; %NULL if unsuccessful.

Meta