mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
basesink: propagate UPSTREAM events in pull mode too
* libs/gst/base/gstbasesink.c (gst_base_sink_send_event): Propagate upstream events in pull mode too.
This commit is contained in:
parent
fe2f12b162
commit
e2ff005e63
1 changed files with 2 additions and 2 deletions
|
@ -3565,8 +3565,8 @@ gst_base_sink_send_event (GstElement * element, GstEvent * event)
|
|||
mode = basesink->pad_mode;
|
||||
GST_OBJECT_UNLOCK (element);
|
||||
|
||||
/* only push UPSTREAM events upstream and if we are in push mode */
|
||||
forward = GST_EVENT_IS_UPSTREAM (event) && (mode == GST_ACTIVATE_PUSH);
|
||||
/* only push UPSTREAM events upstream */
|
||||
forward = GST_EVENT_IS_UPSTREAM (event);
|
||||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_LATENCY:
|
||||
|
|
Loading…
Reference in a new issue