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:
Ronald S. Bultje 2002-09-13 13:32:28 +00:00
parent 3443f74f10
commit fc6ac17dc1

View file

@ -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)