gstreamer/docs/gst
Alex Ashley abdafb0d64 protection: add GstProtectionMeta to support protected content
In order to support some types of protected streams (such as those
protected using DASH Common Encryption) some per-buffer information
needs to be passed between elements.

This commit adds a GstMeta type called GstProtectionMeta that allows
protection specific information to be added to a GstBuffer. An example
of its usage is qtdemux providing information to each output sample
that enables a downstream element to decrypt it.

This commit adds a utility function to select a supported protection
system from the installed Decryption elements found in the registry.
The gst_protection_select_system function that takes an array of
identifiers and searches the registry for a element of klass Decryptor that
supports one or more of the supplied identifiers. If multiple elements
are found, the one with the highest rank is selected.

This commit adds a unit test for the gst_protection_select_system
function that adds a fake Decryptor element to the registry and then
checks that it can correctly be selected by the utility function.

This commit adds a unit test for GstProtectionMeta that creates
GstProtectionMeta and adds & removes it from a buffer and performs some
simple reference count checks.

API: gst_buffer_add_protection_meta()
API: gst_buffer_get_protection_meta()
API: gst_protection_select_system()
API: gst_protection_meta_api_get_type()
API: gst_protection_meta_get_info()

https://bugzilla.gnome.org/show_bug.cgi?id=705991
2015-04-18 12:24:06 +01:00
..
.gitignore .gitignore: add new .svg file in docs 2010-04-08 10:10:18 +01:00
building.xml docs: Some grammar and typo corrections. 2009-03-30 10:33:51 +02:00
gst-universe.dot docs: add concept map 2010-04-08 10:30:41 +03:00
gstreamer-docs.sgml protection: add GstProtectionMeta to support protected content 2015-04-18 12:24:06 +01:00
gstreamer-overrides.txt docs/: Add these files to CVS. Now I really don't understand what's going on, but like whatever. I want green buildbot! 2005-03-29 14:34:51 +00:00
gstreamer-sections.txt protection: add GstProtectionMeta to support protected content 2015-04-18 12:24:06 +01:00
gstreamer.types.in docs: add the boxed types to the .types.in 2014-02-15 22:35:37 +01:00
Makefile.am docs: unhide docs for allocator 2014-01-31 08:36:55 +01:00
running.xml docs: Fix typos 2015-03-25 23:36:59 +00:00