mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-26 09:50:39 +00:00
Patch for bug 110976
Original commit message from CVS: Patch for bug 110976 - send events using the eventhandler instead of the eventfunc
This commit is contained in:
parent
a31ed7185a
commit
0308849541
|
@ -2894,8 +2894,8 @@ gst_pad_send_event (GstPad *pad, GstEvent *event)
|
|||
GST_DEBUG (GST_CAT_EVENT, "have event %d on pad %s:%s",
|
||||
GST_EVENT_TYPE (event), GST_DEBUG_PAD_NAME (rpad));
|
||||
|
||||
if (GST_RPAD_EVENTFUNC (rpad))
|
||||
success = GST_RPAD_EVENTFUNC (rpad) (GST_PAD_CAST (rpad), event);
|
||||
if (GST_RPAD_EVENTHANDLER (rpad))
|
||||
success = GST_RPAD_EVENTHANDLER (rpad) (GST_PAD_CAST (rpad), event);
|
||||
else {
|
||||
GST_DEBUG (GST_CAT_EVENT, "there's no event function for pad %s:%s",
|
||||
GST_DEBUG_PAD_NAME (rpad));
|
||||
|
|
Loading…
Reference in a new issue