summaryrefslogtreecommitdiff
path: root/v4l2-apps/util
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-02-26 16:19:57 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2007-02-26 16:19:57 +0100
commitf0e3c299b1f6c907d2e8f6a24d4fa4d6e0809b95 (patch)
tree50a8f7e1411c7c5085701f44c3ce964ee1b3e30e /v4l2-apps/util
parentdc6e8817d776cdb670fd1db1cb48f2ee25c91717 (diff)
downloadmediapointer-dvb-s2-f0e3c299b1f6c907d2e8f6a24d4fa4d6e0809b95.tar.gz
mediapointer-dvb-s2-f0e3c299b1f6c907d2e8f6a24d4fa4d6e0809b95.tar.bz2
Show v4l2_framebuffer Base address in v4l2-ctl.
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'v4l2-apps/util')
-rw-r--r--v4l2-apps/util/v4l2-ctl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/v4l2-apps/util/v4l2-ctl.cpp b/v4l2-apps/util/v4l2-ctl.cpp
index c466b4b63..4493ab438 100644
--- a/v4l2-apps/util/v4l2-ctl.cpp
+++ b/v4l2-apps/util/v4l2-ctl.cpp
@@ -647,6 +647,8 @@ static void printfbuf(const struct v4l2_framebuffer &fb)
printf("Capability : %s", fbufcap2s(fb.capability).c_str() + 2);
printf("Flags : %s", fbufflags2s(fb.flags).c_str() + 2);
+ if (fb.base)
+ printf("Base : 0x%p\n", fb.base);
printf("Width : %d\n", fb.fmt.width);
printf("Height : %d\n", fb.fmt.height);
printf("Pixel Format : %s\n", fcc2s(fb.fmt.pixelformat).c_str());