projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d315eee
)
Negotiation can happen even on disabled pads (in READY state)
author
Wim Taymans
<wim.taymans@gmail.com>
Tue, 31 Dec 2002 15:34:21 +0000
(15:34 +0000)
committer
Wim Taymans
<wim.taymans@gmail.com>
Tue, 31 Dec 2002 15:34:21 +0000
(15:34 +0000)
Original commit message from CVS:
Negotiation can happen even on disabled pads (in READY state)
gst/gstelement.c
patch
|
blob
|
history
diff --git
a/gst/gstelement.c
b/gst/gstelement.c
index 0e3461d819c86c665484dc11cd1de9b54d8b4b6c..6289a4c175b49c2ad14e84bcab30700a45dc85f0 100644
(file)
--- 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;