diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-10-10 15:04:53 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-10-10 15:04:53 +0200 |
commit | 393ead8de629bb5c7d36aa33d88a4ece7938df2a (patch) | |
tree | 879173fd8832698ac6ca9a59d35ec3d9ec4c0b57 /bin | |
parent | f8ffac53c514145dc35ebe11f54471bd3b67dccf (diff) | |
download | uca-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
Diffstat (limited to 'bin')
-rw-r--r-- | bin/tools/grab.c | 7 |
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: |