[v4l2dec] Enlarge input buffer size
- Enlarge input buffer size to 6M
to avoid CRITICAL warning in gst_v4l2_buffer_pool_copy_buffer()
Signed-off-by: Lyon Wang <lyon.wang@nxp.com>
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
old mode 100644
new mode 100755
index 3ef8805..e6a605a
--- a/sys/v4l2/gstv4l2object.c
+++ b/sys/v4l2/gstv4l2object.c
@@ -52,7 +52,7 @@
#define DEFAULT_PROP_TV_NORM 0
#define DEFAULT_PROP_IO_MODE GST_V4L2_IO_AUTO
-#define ENCODED_BUFFER_SIZE (2 * 1024 * 1024)
+#define ENCODED_BUFFER_SIZE (6 * 1024 * 1024)
enum
{