mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
Dont give a warning on unconnected pads (bugzilla ID 93218) - thanks Iain
Original commit message from CVS: Dont give a warning on unconnected pads (bugzilla ID 93218) - thanks Iain
This commit is contained in:
parent
3443f74f10
commit
fc6ac17dc1
1 changed files with 4 additions and 1 deletions
|
@ -468,9 +468,12 @@ gst_thread_change_state (GstElement * element)
|
|||
pads = GST_ELEMENT_PADS (element);
|
||||
|
||||
while (pads) {
|
||||
GstRealPad *peer = GST_REAL_PAD (GST_PAD_PEER (pads->data));
|
||||
GstRealPad *peer = NULL;
|
||||
GstElement *peerelement;
|
||||
|
||||
if (GST_PAD_PEER (pads->data))
|
||||
peer = GST_REAL_PAD (GST_PAD_PEER (pads->data));
|
||||
|
||||
pads = g_list_next (pads);
|
||||
|
||||
if (!peer)
|
||||
|
|
Loading…
Reference in a new issue