diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-06-12 11:51:35 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-06-12 11:51:35 +0200 |
commit | 480140b03b505e10632953cf5870b62b422fb6a9 (patch) | |
tree | d909f878fb9ad0e2e69863e12af94484cc8d4d03 /test | |
parent | 3b52e3936fdaea3dc5742e2375d60cc2e8c6b42b (diff) | |
download | uca-480140b03b505e10632953cf5870b62b422fb6a9.tar.gz uca-480140b03b505e10632953cf5870b62b422fb6a9.tar.bz2 uca-480140b03b505e10632953cf5870b62b422fb6a9.tar.xz uca-480140b03b505e10632953cf5870b62b422fb6a9.zip |
Use roi-x0 and roi-y0
Diffstat (limited to 'test')
-rw-r--r-- | test/grab.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/grab.c b/test/grab.c index 5e163b9..fa4d6c3 100644 --- a/test/grab.c +++ b/test/grab.c @@ -51,8 +51,8 @@ int main(int argc, char *argv[]) g_object_set(G_OBJECT(camera), "exposure-time", 0.1, "delay-time", 0.0, - "roi-x", 0, - "roi-y", 0, + "roi-x0", 0, + "roi-y0", 0, "roi-width", 1024, "roi-height", 512, NULL); @@ -62,8 +62,8 @@ int main(int argc, char *argv[]) "sensor-height", &sensor_height, "roi-width", &roi_width, "roi-height", &roi_height, - "roi-x", &roi_x, - "roi-y", &roi_y, + "roi-x0", &roi_x, + "roi-y0", &roi_y, "sensor-bitdepth", &bits, "sensor-pixelrate", &sensor_rate, NULL); |