From 3f8006734da007be3a30ec4fd05b1db4bcaf49e0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 10 Apr 2003 22:00:55 +0000 Subject: [PATCH] Removed sanity check that does not hold in some cases with the opt scheduler. Original commit message from CVS: Removed sanity check that does not hold in some cases with the opt scheduler. --- gst/gstpad.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gst/gstpad.c b/gst/gstpad.c index 0bb57ca..3c0a39c 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -2302,7 +2302,6 @@ gst_pad_pull (GstPad *pad) restart: if (peer->gethandler) { GstBuffer *buf; - gboolean active = GST_PAD_IS_ACTIVE (peer); GST_DEBUG (GST_CAT_DATAFLOW, "calling gethandler %s of peer pad %s:%s", GST_DEBUG_FUNCPTR_NAME (peer->gethandler), @@ -2313,12 +2312,6 @@ restart: if (buf) { if (!gst_probe_dispatcher_dispatch (&peer->probedisp, (GstData **) &buf)) goto restart; - - if (!GST_IS_EVENT (buf) && !active) { - g_warning ("pull on pad %s:%s but it is not active", - GST_DEBUG_PAD_NAME (peer)); - return GST_BUFFER (gst_event_new (GST_EVENT_INTERRUPT)); - } return buf; } -- 2.7.4