From 61193820ca1797e673906134ccf7b43c735cef8d Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 5 Apr 2017 12:24:32 +0200 Subject: Use prop string array to initialize parameters --- bin/tools/common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/tools/common.c') diff --git a/bin/tools/common.c b/bin/tools/common.c index ee3c110..c849727 100644 --- a/bin/tools/common.c +++ b/bin/tools/common.c @@ -102,6 +102,8 @@ cleanup: camera = uca_plugin_manager_get_camerav (manager, name, n_props, params, error); + uca_camera_parse_arg_props (camera, uca_prop_assignment_array, n_props, error); + for (guint i = 0; i < n_props; i++) { /* cast is legit, because we created the string */ g_free ((gchar *) params[i].name); -- cgit v1.2.3