projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d45e594
)
command-line-formatter: Stop uselessly looping over options
author
Thibault Saunier
<tsaunier@igalia.com>
Fri, 15 Jan 2021 18:23:13 +0000
(15:23 -0300)
committer
Thibault Saunier
<tsaunier@igalia.com>
Wed, 10 Feb 2021 19:14:47 +0000
(16:14 -0300)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/227>
ges/ges-command-line-formatter.c
patch
|
blob
|
history
diff --git
a/ges/ges-command-line-formatter.c
b/ges/ges-command-line-formatter.c
index
d834e39
..
30d1853
100644
(file)
--- a/
ges/ges-command-line-formatter.c
+++ b/
ges/ges-command-line-formatter.c
@@
-764,6
+764,7
@@
_load (GESFormatter * self, GESTimeline * timeline, const gchar * string,
if (gst_structure_has_name (tmp->data, options[i].long_name)
|| (strlen (name) == 1 && *name == options[i].short_name)) {
EXEC (((ActionFromStructureFunc) options[i].callback), tmp->data, &err);
+ break;
}
}
}