From 8f9f95cd78ca2051c195591407f36caa633ffc51 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 14 Feb 2011 15:37:23 +0200 Subject: [PATCH] parse-launch: fix typo in pad-list length comparision It was comparing the length with itself. Fixes #642071. --- gst/parse/grammar.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y index f90d1cd..9065066 100644 --- a/gst/parse/grammar.y +++ b/gst/parse/grammar.y @@ -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) { -- 2.7.4