mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
Call the default handler of the pad
Original commit message from CVS: Call the default handler of the pad
This commit is contained in:
parent
dc435fc930
commit
0b263598f0
2 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue