validate: (performance issue)refactor to remove duplicate assignment

Signed-off-by: Anuj Jaiswal <anuj.jaiswal@samsung.com>

https://bugzilla.gnome.org/show_bug.cgi?id=736412
This commit is contained in:
Anuj Jaiswal 2014-09-10 16:45:41 +05:30 committed by Thibault Saunier
parent 1649b49f1c
commit c98f7e7b38

View file

@ -824,7 +824,7 @@ find_next_pad (GstElement * element, GstPad * pad)
GValue value = { 0, };
iterator = gst_element_iterate_sink_pads (element);
done = FALSE;
while (!done) {
switch (gst_iterator_next (iterator, &value)) {
case GST_ITERATOR_OK: