summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodor Tomov <ttomov@mm-sol.com>2010-09-28 14:59:50 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-09-28 14:46:31 +0200
commit68a9a12fcee22c41f576f1a489791786982cf27b (patch)
treea3d44a5fa0b453cf210743aa0f622095fdc273fb
parent0e61c58c9f73dedbde3d35cdca608038643c2547 (diff)
main.c: Fix crop rectangle printing format
Fix crop rectangle printing format after L,T/WxH to (L,T)/WxH change. Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 3ca1600..96b4573 100644
--- a/main.c
+++ b/main.c
@@ -334,7 +334,7 @@ static int set_crop(struct media_entity_pad *pad, struct v4l2_rect *crop)
if (crop->left == -1 || crop->top == -1)
return 0;
- printf("Setting up crop rectangle %u,%u/%ux%u on pad %s/%u\n",
+ printf("Setting up crop rectangle (%u,%u)/%ux%u on pad %s/%u\n",
crop->left, crop->top, crop->width, crop->height,
pad->entity->info.name, pad->index);
@@ -345,7 +345,7 @@ static int set_crop(struct media_entity_pad *pad, struct v4l2_rect *crop)
return ret;
}
- printf("Crop rectangle set: %u,%u/%ux%u\n",
+ printf("Crop rectangle set: (%u,%u)/%ux%u\n",
crop->left, crop->top, crop->width, crop->height);
return 0;