parse-launch: fix typo in pad-list length comparision

It was comparing the length with itself.

Fixes #642071.
This commit is contained in:
Stefan Kost 2011-02-14 15:37:23 +02:00
parent 7e9b886ba2
commit 8f9f95cd78

View file

@ -582,7 +582,7 @@ gst_parse_perform_link (link_t *link, graph_t *graph)
}
}
}
if (g_slist_length (link->src_pads) != g_slist_length (link->src_pads)) {
if (g_slist_length (link->src_pads) != g_slist_length (link->sink_pads)) {
goto error;
}
while (srcs && sinks) {