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:
Wim Taymans 2011-06-21 12:31:57 +02:00
parent de3b6e733f
commit 872e7d52df

View file

@ -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)