mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
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)
This commit is contained in:
parent
d315eee490
commit
177bf4bfbc
1 changed files with 1 additions and 1 deletions
|
@ -2178,7 +2178,7 @@ gst_element_negotiate_pads (GstElement *element)
|
||||||
|
|
||||||
/* if we have a connection on this pad and it doesn't have caps
|
/* if we have a connection on this pad and it doesn't have caps
|
||||||
* allready, try to negotiate */
|
* 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;
|
GstRealPad *sinkpad;
|
||||||
GstElementState otherstate;
|
GstElementState otherstate;
|
||||||
GstElement *parent;
|
GstElement *parent;
|
||||||
|
|
Loading…
Reference in a new issue