Call the default handler of the pad
authorWim Taymans <wim.taymans@gmail.com>
Wed, 14 Nov 2001 21:21:58 +0000 (21:21 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 14 Nov 2001 21:21:58 +0000 (21:21 +0000)
Original commit message from CVS:
Call the default handler of the pad

gst/gstpad.c
gst/gstscheduler.c

index 23cb770..c753d01 100644 (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;
index 0c61f79..ccef994 100644 (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));