Dear maintainers, I think there is a bug in utils/v4l2-ctl/v4l2-ctl-misc.cpp:394 printf("\tRead buffers : %d\n", parm.parm.output.writebuffers); Please consider the attached patch. -- Andy
>From c3b6188d385dce46bed3e8803f661cf0e501522e Mon Sep 17 00:00:00 2001 From: Andreas Weber <andreas.weber@xxxxxxxxxxxxxxx> Date: Thu, 16 Jan 2014 18:27:14 +0100 Subject: [PATCH] v4l2-ctl-misc.cpp: bugfix display #of readbuffers --- utils/v4l2-ctl/v4l2-ctl-misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/v4l2-ctl/v4l2-ctl-misc.cpp b/utils/v4l2-ctl/v4l2-ctl-misc.cpp index 6857fff..4d11ec8 100644 --- a/utils/v4l2-ctl/v4l2-ctl-misc.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-misc.cpp @@ -391,7 +391,7 @@ void misc_get(int fd) printf("\tFrames per second: %.3f (%d/%d)\n", (1.0 * tf.denominator) / tf.numerator, tf.denominator, tf.numerator); - printf("\tRead buffers : %d\n", parm.parm.output.writebuffers); + printf("\tRead buffers : %d\n", parm.parm.capture.readbuffers); } } -- 1.7.10.4