summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2011-03-08 17:19:17 +0800
committerAndy Voltz <andy.voltz@timesys.com>2011-06-01 13:21:01 -0400
commit99f4f0102c0a16bc04a088086363229a6d109618 (patch)
tree4f38be3cc4c8a603671f153f15df4f306d4105b4
parentad8eefb74607829db0c3bbd5dc94d569808e90c9 (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>
-rw-r--r--drivers/media/video/mxc/capture/mxc_v4l2_capture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mxc/capture/mxc_v4l2_capture.h b/drivers/media/video/mxc/capture/mxc_v4l2_capture.h
index 3f53d6029146..d7a8dd89d639 100644
--- a/drivers/media/video/mxc/capture/mxc_v4l2_capture.h
+++ b/drivers/media/video/mxc/capture/mxc_v4l2_capture.h
@@ -35,7 +35,7 @@
#include <media/v4l2-dev.h>
-#define FRAME_NUM 3
+#define FRAME_NUM 10
/*!
* v4l2 frame structure.