diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2012-05-26 19:43:16 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-05-28 17:57:17 +0200 |
commit | 558a726f839f5a668b01321c9409a48b8ab2ea60 (patch) | |
tree | 7c24b7f9e912324ed56c4d48e0e7145a4af1224e | |
parent | 378bf2a0360161879efb842051933da4fb7e75c6 (diff) |
media-ctl: Compose print fixes
The compose rectangles were printed incorrectly in my recent patch "Compose
rectangle support for libv4l2subdev" without parenthesis. Fix this.
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -81,14 +81,14 @@ static void v4l2_subdev_print_format(struct media_entity *entity, V4L2_SUBDEV_SEL_TGT_COMPOSE_BOUNDS, which); if (ret == 0) - printf("\n\t\t compose.bounds:%u,%u/%ux%u", + printf("\n\t\t compose.bounds:(%u,%u)/%ux%u", rect.left, rect.top, rect.width, rect.height); ret = v4l2_subdev_get_selection(entity, &rect, pad, V4L2_SUBDEV_SEL_TGT_COMPOSE_ACTUAL, which); if (ret == 0) - printf("\n\t\t compose:%u,%u/%ux%u", + printf("\n\t\t compose:(%u,%u)/%ux%u", rect.left, rect.top, rect.width, rect.height); printf("]\n"); |