event: add new GST_EVENT_PROTECTION
authorAlex Ashley <bugzilla@ashley-family.net>
Mon, 16 Mar 2015 12:35:27 +0000 (12:35 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 18 Apr 2015 11:04:29 +0000 (12:04 +0100)
commit0f36b16a29d86a0050b8978781339616233b1db5
tree305ca8e4fe60a06fa132c598c814e7b29ae3d594
parent319144048541f7499d662bb8056a5e0f6a0517ea
event: add new GST_EVENT_PROTECTION

In order for a decrypter element to decrypt media protected using a
specific protection system, it first needs all the protection system
specific  information necessary (E.g. information on how to acquire
the decryption keys) for that stream.

The GST_EVENT_PROTECTION defined in this commit enables this information
to be passed from elements that extract it (e.g. qtdemux, dashdemux) to
elements that use it (E.g. a decrypter element).

API: GST_EVENT_PROTECTION
API: gst_event_new_protection()
API: gst_event_parse_protection()

https://bugzilla.gnome.org/show_bug.cgi?id=705991
gst/gstevent.c
gst/gstevent.h
tests/check/gst/gstevent.c
win32/common/libgstreamer.def