From 68a9a12fcee22c41f576f1a489791786982cf27b Mon Sep 17 00:00:00 2001 From: Todor Tomov Date: Tue, 28 Sep 2010 14:59:50 +0300 Subject: 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 --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.c') 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; -- cgit v1.2.3