patch for display of readbuffers in v4l2-ctl-misc.cpp
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
Quoted 1 line
From
c3b6188d385dce46bed3e8803f661cf0e501522eMon Sep 17 00:00:00 2001
From: Andreas Weber <[email protected]>
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(-)
utils/v4l2-ctl/v4l2-ctl-misc.cpp +1 -1
@@ -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); } }
Signature · 1 line
1.7.10.4