elementfactory: add DECRYPTOR class defines
authorAlex Ashley <bugzilla@ashley-family.net>
Mon, 16 Mar 2015 13:11:59 +0000 (13:11 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 14 Apr 2015 16:50:32 +0000 (17:50 +0100)
commitb8f5a7ba45215a7b37e424150ae987b8a13c3d8d
tree2cded7943035185c12dc3dbfe13a96e0b15867cf
parentd70631fe99ca5a981f547272d47d8eba7c103185
elementfactory: add DECRYPTOR class defines

An element that performs decryption does not naturally fit within any
of the existing element factory class types. It is useful to be able
to easily get a list of all elements that support decryption so that
a union can be computed between the protection systems that have a
supported decryptor and the allowed protection systems for a particular
stream.

This commit adds a new GST_ELEMENT_FACTORY_TYPE_DECRYPTOR and its
associated string identifier "Decryptor". It also adds
GST_ELEMENT_FACTORY_TYPE_DECRYPTOR to GST_ELEMENT_FACTORY_TYPE_DECODABLE
so that uridecodebin can auto-plug a decryption element.

https://bugzilla.gnome.org/show_bug.cgi?id=705991
gst/gstelementfactory.c
gst/gstelementfactory.h