Call the default handler of the pad

Original commit message from CVS:
Call the default handler of the pad
This commit is contained in:
Wim Taymans 2001-11-14 21:21:58 +00:00
parent dc435fc930
commit 0b263598f0
2 changed files with 4 additions and 2 deletions

View file

@ -2012,7 +2012,8 @@ gst_pad_send_event (GstPad *pad, GstEvent *event)
if (!handled) {
GST_DEBUG(GST_CAT_EVENT, "would proceed with default behavior here\n");
//gst_pad_event_default (pad, event);
gst_pad_event_default (pad, event);
handled = TRUE;
}
return handled;

View file

@ -75,7 +75,8 @@ gst_schedule_chain_wrapper (int argc,char *argv[])
buf = gst_pad_pull (pad);
if (buf) {
if (GST_IS_EVENT (buf) && !GST_ELEMENT_IS_EVENT_AWARE (element)) {
gst_pad_event_default (pad, GST_EVENT (buf));
//gst_pad_event_default (pad, GST_EVENT (buf));
gst_pad_send_event (pad, GST_EVENT (buf));
}
else {
GST_DEBUG (GST_CAT_DATAFLOW,"calling chain function of %s:%s\n", name, GST_PAD_NAME (pad));