mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
basesrc: Support PROTECTION event from application
Application may want to send PROTECTION event to the src element. https://bugzilla.gnome.org/show_bug.cgi?id=769775
This commit is contained in:
parent
4eb64cd276
commit
562681a1b7
1 changed files with 2 additions and 1 deletions
|
@ -1865,7 +1865,8 @@ gst_base_src_send_event (GstElement * element, GstEvent * event)
|
|||
case GST_EVENT_TAG:
|
||||
case GST_EVENT_CUSTOM_DOWNSTREAM:
|
||||
case GST_EVENT_CUSTOM_BOTH:
|
||||
/* Insert TAG, CUSTOM_DOWNSTREAM, CUSTOM_BOTH in the dataflow */
|
||||
case GST_EVENT_PROTECTION:
|
||||
/* Insert TAG, CUSTOM_DOWNSTREAM, CUSTOM_BOTH, PROTECTION in the dataflow */
|
||||
GST_OBJECT_LOCK (src);
|
||||
src->priv->pending_events =
|
||||
g_list_append (src->priv->pending_events, event);
|
||||
|
|
Loading…
Reference in a new issue