summaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-02-23 09:24:44 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-02-23 09:24:44 +0100
commitd69b1e834cc1558ff117688da7030dabd22099fa (patch)
treef2020a161aefc73b789386a1c38e5a260b600ee6 /test/test.c
parent29aec734715f7c4d6b8157ac514eff4fd8dd0242 (diff)
downloadlibuca-d69b1e834cc1558ff117688da7030dabd22099fa.tar.gz
libuca-d69b1e834cc1558ff117688da7030dabd22099fa.tar.bz2
libuca-d69b1e834cc1558ff117688da7030dabd22099fa.tar.xz
libuca-d69b1e834cc1558ff117688da7030dabd22099fa.zip
Do something meaningful and check for frame grabber library
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test.c b/test/test.c
index a1689ef..7e29a88 100644
--- a/test/test.c
+++ b/test/test.c
@@ -7,6 +7,13 @@ int main(int argc, char *argv[])
struct uca_t *uca = uca_init();
if (uca == NULL) {
printf("Couldn't find a camera\n");
+ return 1;
}
+
+ uint32_t width = 2560, height = 2160;
+
+ uca->cam_set_dimensions(uca, &width, &height);
+
+ uca_destroy(uca);
return 0;
}