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:
parent
1649b49f1c
commit
c98f7e7b38
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user