mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
command-line-formatter: Stop uselessly looping over options
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/227>
This commit is contained in:
parent
d45e594a31
commit
74460ec221
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue