summaryrefslogtreecommitdiffstats
path: root/bin/tools/common.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-04-05 12:24:32 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-04-05 12:25:17 +0200
commit61193820ca1797e673906134ccf7b43c735cef8d (patch)
tree0abda9df7660e2cba69e3f31f4d1d6e808f756e1 /bin/tools/common.c
parent7f818c1e29d66ab335b3c232f60ae4b7899a9913 (diff)
downloaduca-61193820ca1797e673906134ccf7b43c735cef8d.tar.gz
uca-61193820ca1797e673906134ccf7b43c735cef8d.tar.bz2
uca-61193820ca1797e673906134ccf7b43c735cef8d.tar.xz
uca-61193820ca1797e673906134ccf7b43c735cef8d.zip
Use prop string array to initialize parameters
Diffstat (limited to 'bin/tools/common.c')
-rw-r--r--bin/tools/common.c2
1 files changed, 2 insertions, 0 deletions
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);