summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2011-03-08 17:19:17 +0800
committerAlex Gonzalez <alex.gonzalez@digi.com>2011-08-01 09:51:17 +0200
commit205f1464865f2df3936d465f17dcdf9e2be773f8 (patch)
treee618c74114e2cd0c52dfb4c88d2e4041d1664a87 /drivers/media
parent078089a219ff54c2db71319be26cc55e4c529599 (diff)
ENGR00140400 MXC V4L2 capture:Add maximum buffer number
This patch adds MXC V4L2 capture maximum buffer number from 3 to 10. This makes users be able to get rid of losing frames in streaming mode by requiring more buffers. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/mxc/capture/mxc_v4l2_capture.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/mxc/capture/mxc_v4l2_capture.h b/drivers/media/video/mxc/capture/mxc_v4l2_capture.h
index de443803b1f8..09e713cdae4d 100644
--- a/drivers/media/video/mxc/capture/mxc_v4l2_capture.h
+++ b/drivers/media/video/mxc/capture/mxc_v4l2_capture.h
@@ -35,8 +35,7 @@
#include <media/v4l2-dev.h>
-#define FRAME_NUM 3
-//#define FRAME_NUM 4
+#define FRAME_NUM 10
/*!
* v4l2 frame structure.