mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
pad: use event function directly
We will never go in this code path for CAPS events so directly call the event function.
This commit is contained in:
parent
de3b6e733f
commit
872e7d52df
1 changed files with 1 additions and 1 deletions
|
@ -4547,7 +4547,7 @@ gst_pad_send_event (GstPad * pad, GstEvent * event)
|
||||||
|
|
||||||
GST_OBJECT_UNLOCK (pad);
|
GST_OBJECT_UNLOCK (pad);
|
||||||
|
|
||||||
result = do_event_function (pad, event, eventfunc);
|
result = eventfunc (pad, event);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (need_unlock)
|
if (need_unlock)
|
||||||
|
|
Loading…
Reference in a new issue