From dcc1f2aebb01437a2b43125ca986c7ffc5e702e7 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 20 May 2014 16:54:27 +0200 Subject: Add field support for the media bus format Signed-off-by: Laurent Pinchart --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 6f980b4..57618d6 100644 --- a/src/main.c +++ b/src/main.c @@ -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); -- cgit v1.2.3