From 54a229b3864fe7867da69ef7427877094a256f1c Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 16 Mar 2011 08:58:55 +0100 Subject: Pass target string size when calling uca_get_property --- test/grab.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/grab.c') diff --git a/test/grab.c b/test/grab.c index 5ae44f1..6f646c7 100644 --- a/test/grab.c +++ b/test/grab.c @@ -21,9 +21,9 @@ int main(int argc, char *argv[]) cam->set_property(cam, UCA_PROP_DELAY, &val); uint32_t width, height, bits; - cam->get_property(cam, UCA_PROP_WIDTH, &width); - cam->get_property(cam, UCA_PROP_HEIGHT, &height); - cam->get_property(cam, UCA_PROP_BITDEPTH, &bits); + cam->get_property(cam, UCA_PROP_WIDTH, &width, 0); + cam->get_property(cam, UCA_PROP_HEIGHT, &height, 0); + cam->get_property(cam, UCA_PROP_BITDEPTH, &bits, 0); uca_cam_alloc(cam, 10); -- cgit v1.2.3