diff options
author | Stefan Kost <ensonic@users.sf.net> | 2011-02-14 15:37:23 +0200 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2011-02-14 15:37:23 +0200 |
commit | 8f9f95cd78ca2051c195591407f36caa633ffc51 (patch) | |
tree | 5a0f3a3ea5a11c2c3cc3969ff2b662884b7c83b3 /gst/parse/grammar.y | |
parent | 7e9b886ba2de089c1fe5ff9ce3cfab23f799ff22 (diff) | |
download | gstreamer-8f9f95cd78ca2051c195591407f36caa633ffc51.tar.gz |
parse-launch: fix typo in pad-list length comparision
It was comparing the length with itself.
Fixes #642071.
Diffstat (limited to 'gst/parse/grammar.y')
-rw-r--r-- | gst/parse/grammar.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y index f90d1cdb77..9065066f1a 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) { |