From: Thomas Vander Stichele Date: Sun, 5 Oct 2003 19:42:21 +0000 (+0000) Subject: allow pad push if peer is active X-Git-Tag: RELEASE-0_7_1~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7731fe15a61868f7982b630f3705c146f366f732;p=platform%2Fupstream%2Fgstreamer.git allow pad push if peer is active Original commit message from CVS: allow pad push if peer is active --- diff --git a/gst/gstpad.c b/gst/gstpad.c index 3cc2848..549ebf8 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -2327,8 +2327,8 @@ gst_pad_push (GstPad *pad, GstBuffer *buf) GST_DEBUG_PAD_NAME (pad)); } else { - if (!GST_IS_EVENT (data) && !GST_PAD_IS_ACTIVE (pad)) { - g_warning ("push on pad %s:%s but it is not active", + if (!GST_IS_EVENT (data) && !GST_PAD_IS_ACTIVE (peer)) { + g_warning ("push on peer of pad %s:%s but peer is not active", GST_DEBUG_PAD_NAME (pad)); return; }