[gst-cvs] CVS: gstreamer/gst gstscheduler.c,1.36,1.37 gstpad.c,1.120,1.121
Wim Taymans
wtay at users.sourceforge.net
Wed Nov 14 13:23:02 PST 2001
Update of /cvsroot/gstreamer/gstreamer/gst
In directory usw-pr-cvs1:/tmp/cvs-serv5076
Modified Files:
gstscheduler.c gstpad.c
Log Message:
Call the default handler of the pad
Index: gstscheduler.c
===================================================================
RCS file: /cvsroot/gstreamer/gstreamer/gst/gstscheduler.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- gstscheduler.c 2001/11/14 21:11:05 1.36
+++ gstscheduler.c 2001/11/14 21:21:58 1.37
@@ -75,7 +75,8 @@
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));
Index: gstpad.c
===================================================================
RCS file: /cvsroot/gstreamer/gstreamer/gst/gstpad.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- gstpad.c 2001/11/14 21:08:44 1.120
+++ gstpad.c 2001/11/14 21:21:58 1.121
@@ -2012,7 +2012,8 @@
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;
More information about the Gstreamer-commits
mailing list