mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
gstpad: Handle GST_PAD_PROBE_HANDLED on sticky event push
When actually pushing an event, if we get GST_FLOW_CUSTOM_SUCCESS_1 (which is the conversion of GST_PAD_PROBE_HANDLED return value), don't consider the stick event push as ignored, but as handled
This commit is contained in:
parent
adf304d5af
commit
0afc114629
1 changed files with 2 additions and 0 deletions
|
@ -3871,6 +3871,8 @@ push_sticky (GstPad * pad, PadEvent * ev, gpointer user_data)
|
|||
} else {
|
||||
data->ret = gst_pad_push_event_unchecked (pad, gst_event_ref (event),
|
||||
GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM);
|
||||
if (data->ret == GST_FLOW_CUSTOM_SUCCESS_1)
|
||||
data->ret = GST_FLOW_OK;
|
||||
}
|
||||
|
||||
switch (data->ret) {
|
||||
|
|
Loading…
Reference in a new issue