From 393ead8de629bb5c7d36aa33d88a4ece7938df2a Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 10 Oct 2017 15:04:53 +0200 Subject: grab: do not call parse_props as it's done already --- bin/tools/grab.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'bin') 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: -- cgit v1.2.3