mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue