diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-12-31 15:34:21 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-12-31 15:34:21 +0000 |
commit | 177bf4bfbcfcc5533c31b84991927b71f07cd549 (patch) | |
tree | 75f5b6de1d3b68d61d201241fddfda10afe0cc35 | |
parent | d315eee4905759731f5987932bb266bc02d1bc19 (diff) | |
download | gstreamer-177bf4bfbcfcc5533c31b84991927b71f07cd549.tar.gz |
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)
-rw-r--r-- | gst/gstelement.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |