diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-05-20 16:54:27 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-06-04 12:35:15 +0200 |
commit | dcc1f2aebb01437a2b43125ca986c7ffc5e702e7 (patch) | |
tree | 6cdc0bc3cf2837ab029d7226ce598c79b7656925 /src/main.c | |
parent | fe322d677d869b176efdd75e135783730743c0ba (diff) |
Add field support for the media bus formatfield
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -63,6 +63,9 @@ static void v4l2_subdev_print_format(struct media_entity *entity, v4l2_subdev_pixelcode_to_string(format.code), format.width, format.height); + if (format.field) + printf(" field:%s", v4l2_subdev_field_to_string(format.field)); + ret = v4l2_subdev_get_selection(entity, &rect, pad, V4L2_SEL_TGT_CROP_BOUNDS, which); |