diff options
author | Todor Tomov <ttomov@mm-sol.com> | 2010-09-28 14:59:50 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-09-28 14:46:31 +0200 |
commit | 68a9a12fcee22c41f576f1a489791786982cf27b (patch) | |
tree | a3d44a5fa0b453cf210743aa0f622095fdc273fb | |
parent | 0e61c58c9f73dedbde3d35cdca608038643c2547 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |