summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-10-10 15:04:53 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-10-10 15:04:53 +0200
commit393ead8de629bb5c7d36aa33d88a4ece7938df2a (patch)
tree879173fd8832698ac6ca9a59d35ec3d9ec4c0b57
parentf8ffac53c514145dc35ebe11f54471bd3b67dccf (diff)
downloaduca-393ead8de629bb5c7d36aa33d88a4ece7938df2a.tar.gz
uca-393ead8de629bb5c7d36aa33d88a4ece7938df2a.tar.bz2
uca-393ead8de629bb5c7d36aa33d88a4ece7938df2a.tar.xz
uca-393ead8de629bb5c7d36aa33d88a4ece7938df2a.zip
grab: do not call parse_props as it's done already
-rw-r--r--bin/tools/grab.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/bin/tools/grab.c b/bin/tools/grab.c
index bcf35ae..a9d7688 100644
--- a/bin/tools/grab.c
+++ b/bin/tools/grab.c
@@ -266,19 +266,12 @@ main (int argc, char *argv[])
goto cleanup_manager;
}
- if (!uca_camera_parse_arg_props (camera, argv, argc - 1, &error)) {
- g_print ("Error setting properties: %s\n", error->message);
- goto cleanup_camera;
- }
-
error = record_frames (camera, &opts);
if (error != NULL)
g_print ("Error: %s\n", error->message);
g_option_context_free (context);
-
-cleanup_camera:
g_object_unref (camera);
cleanup_manager: