From: Wim Taymans Date: Thu, 10 Apr 2003 22:00:55 +0000 (+0000) Subject: Removed sanity check that does not hold in some cases with the opt scheduler. X-Git-Tag: BRANCH-ERROR-ROOT~328 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f8006734da007be3a30ec4fd05b1db4bcaf49e0;p=platform%2Fupstream%2Fgstreamer.git 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. --- 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; }