From: Andreas Weber <andreas.weber@hs-offenburg.de>
To: linux-media@vger.kernel.org
Subject: patch for display of readbuffers in v4l2-ctl-misc.cpp
Date: Thu, 16 Jan 2014 18:34:57 +0100 [thread overview]
Message-ID: <52D81841.7080703@hs-offenburg.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
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
[-- Attachment #2: fix_display_number_of_readbuffers.patch --]
[-- Type: text/x-diff, Size: 861 bytes --]
>From c3b6188d385dce46bed3e8803f661cf0e501522e Mon Sep 17 00:00:00 2001
From: Andreas Weber <andreas.weber@hs-offenburg.de>
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
reply other threads:[~2014-01-16 18:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52D81841.7080703@hs-offenburg.de \
--to=andreas.weber@hs-offenburg.de \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.