This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: qv4l2: reduce the minimum number of buffers to 2
Author:  Hans Verkuil <[email protected]>
Date:    Sun Sep 12 21:29:11 2010 +0200

The pwc driver sets the number of buffers to 2, so fails with our too
conservative check against a minimum of 3 buffers.

Signed-off-by: Hans Verkuil <[email protected]>

 utils/qv4l2/qv4l2.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=b9d78fe81b5ec04edcd2727b8d37a628333ec630

diff --git a/utils/qv4l2/qv4l2.cpp b/utils/qv4l2/qv4l2.cpp
index 2931cae..9d11a46 100644
--- a/utils/qv4l2/qv4l2.cpp
+++ b/utils/qv4l2/qv4l2.cpp
@@ -239,7 +239,7 @@ bool ApplicationWindow::startCapture(unsigned buffer_size)
                        break;
                }
 
-               if (req.count < 3) {
+               if (req.count < 2) {
                        error("Too few buffers");
                        reqbufs_mmap_cap(req);
                        break;
@@ -293,7 +293,7 @@ bool ApplicationWindow::startCapture(unsigned buffer_size)
                        break;
                }
 
-               if (req.count < 3) {
+               if (req.count < 2) {
                        error("Too few buffers");
                        reqbufs_user_cap(req);
                        break;

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to