summaryrefslogtreecommitdiffstats
path: root/bin/tools/grab.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tools/grab.c')
-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: