From 480140b03b505e10632953cf5870b62b422fb6a9 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 12 Jun 2012 11:51:35 +0200 Subject: Use roi-x0 and roi-y0 --- test/grab.c | 8 ++++---- 1 file 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); -- cgit v1.2.3