gstreamer/win32/common
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
..
config.h win32: update 2015-03-12 13:29:35 +00:00
dirent.c Fix a couple of missing includes for MSVC2005 and a C99 issue. Also, starting with 2.14.0, GLib won't provide a pipe(... 2007-10-31 22:01:03 +00:00
dirent.h win32/vs7: project files updated to the default vs7 configuration 2006-02-06 21:29:04 +00:00
gstconfig.h win32/common/gstconfig.h: removed libxml include directive 2015-03-04 10:03:57 +01:00
gstenumtypes.c win32: update 2015-03-12 13:29:35 +00:00
gstenumtypes.h Release 1.3.1 2014-05-03 17:41:41 +02:00
gstversion.h win32: update 2015-03-12 13:29:35 +00:00
gtchar.h win32/vs7: project files updated to the default vs7 configuration 2006-02-06 21:29:04 +00:00
libgstbase.def win32: add new API to exports 2015-04-03 00:37:10 +01:00
libgstcontroller.def win32: update .def for new _get_type() function for GstControlPoint 2014-10-22 18:26:04 +01:00
libgstdataprotocol.def defs: update defs 2010-12-07 18:33:51 +01:00
libgstnet.def defs: update defs 2015-03-14 14:06:09 +01:00
libgstreamer.def protection: add GstProtectionMeta to support protected content 2015-04-18 12:24:06 +01:00