Commit fc6ac17d authored by Ronald S. Bultje's avatar Ronald S. Bultje
Browse files

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
parent 3443f74f
...@@ -468,9 +468,12 @@ gst_thread_change_state (GstElement * element) ...@@ -468,9 +468,12 @@ gst_thread_change_state (GstElement * element)
pads = GST_ELEMENT_PADS (element); pads = GST_ELEMENT_PADS (element);
while (pads) { while (pads) {
GstRealPad *peer = GST_REAL_PAD (GST_PAD_PEER (pads->data)); GstRealPad *peer = NULL;
GstElement *peerelement; GstElement *peerelement;
if (GST_PAD_PEER (pads->data))
peer = GST_REAL_PAD (GST_PAD_PEER (pads->data));
pads = g_list_next (pads); pads = g_list_next (pads);
if (!peer) if (!peer)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment