From d69b1e834cc1558ff117688da7030dabd22099fa Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 23 Feb 2011 09:24:44 +0100 Subject: Do something meaningful and check for frame grabber library --- test/test.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/test.c') 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; } -- cgit v1.2.3