From 177bf4bfbcfcc5533c31b84991927b71f07cd549 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 31 Dec 2002 15:34:21 +0000 Subject: [PATCH] Negotiation can happen even on disabled pads (in READY state) Original commit message from CVS: Negotiation can happen even on disabled pads (in READY state) --- gst/gstelement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstelement.c b/gst/gstelement.c index 0e3461d819..6289a4c175 100644 --- a/gst/gstelement.c +++ b/gst/gstelement.c @@ -2178,7 +2178,7 @@ gst_element_negotiate_pads (GstElement *element) /* if we have a connection on this pad and it doesn't have caps * allready, try to negotiate */ - if (GST_PAD_IS_USABLE (srcpad) && !GST_PAD_CAPS (srcpad)) { + if (GST_PAD_IS_CONNECTED (srcpad) && !GST_PAD_CAPS (srcpad)) { GstRealPad *sinkpad; GstElementState otherstate; GstElement *parent;