doc: Remove uneeded protectionevent section

These functions are part of gstevent section already. Keep the doc,
since it's good.
This commit is contained in:
Nicolas Dufresne 2015-06-13 13:14:30 -04:00
parent 7fdb15d6a2
commit 2ec88e0939

View file

@ -1692,9 +1692,18 @@ gst_event_parse_toc_select (GstEvent * event, gchar ** uid)
} }
/** /**
* SECTION:gstprotectionevent * gst_event_new_protection:
* @short_description: Functions to support the passing of * @system_id: (transfer none): a string holding a UUID that uniquely
* protection system specific information via events. * identifies a protection system.
* @data: (transfer none): a #GstBuffer holding protection system specific
* information. The reference count of the buffer will be incremented by one.
* @origin: a string indicating where the protection
* information carried in the event was extracted from. The allowed values
* of this string will depend upon the protection scheme.
*
* Creates a new event containing information specific to a particular
* protection system (uniquely identified by @system_id), by which that
* protection system can acquire key(s) to decrypt a protected stream.
* *
* In order for a decryption element to decrypt media * In order for a decryption element to decrypt media
* protected using a specific system, it first needs all the * protected using a specific system, it first needs all the
@ -1717,28 +1726,11 @@ gst_event_parse_toc_select (GstEvent * event, gchar ** uid)
* some protection systems use different encodings depending upon where the * some protection systems use different encodings depending upon where the
* information originates. * information originates.
* *
* The events returned by #gst_event_new_protection are implemented * The events returned by gst_event_new_protection() are implemented
* in such a way as to ensure that the most recently-pushed protection info * in such a way as to ensure that the most recently-pushed protection info
* event of a particular @origin and @system_id will * event of a particular @origin and @system_id will
* be stuck to the output pad of the sending element. * be stuck to the output pad of the sending element.
* *
* Since: 1.6
*/
/**
* gst_event_new_protection:
* @system_id: (transfer none): a string holding a UUID that uniquely
* identifies a protection system.
* @data: (transfer none): a #GstBuffer holding protection system specific
* information. The reference count of the buffer will be incremented by one.
* @origin: a string indicating where the protection
* information carried in the event was extracted from. The allowed values
* of this string will depend upon the protection scheme.
*
* Creates a new event containing information specific to a particular
* protection system (uniquely identified by @system_id), by which that
* protection system can acquire key(s) to decrypt a protected stream.
*
* Returns: a #GST_EVENT_PROTECTION event, if successful; %NULL * Returns: a #GST_EVENT_PROTECTION event, if successful; %NULL
* if unsuccessful. * if unsuccessful.
* *