diff options
author | Ayaka <ayaka@soulik.info> | 2015-10-05 16:20:19 +0100 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2017-05-24 14:00:22 -0400 |
commit | 342de49bf64e80a7d331156c22d10f54d415fb2c (patch) | |
tree | 50a8fdf509887caf4d63b9c7bda9d59722e82a04 | |
parent | a9f916600474844c2481aebfd6122a3e33422955 (diff) |
v4l2: increase pre-allocated encoded buffer size
As of today, the MFC encoder often need to exceed that 1 MB
size for encoded buffer we fixed earlier for decoding.
https://bugzilla.gnome.org/show_bug.cgi?id=728438
-rw-r--r-- | sys/v4l2/gstv4l2object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index 61244455f..b7ab4ab75 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -51,7 +51,7 @@ GST_DEBUG_CATEGORY_EXTERN (v4l2_debug); #define DEFAULT_PROP_FREQUENCY 0 #define DEFAULT_PROP_IO_MODE GST_V4L2_IO_AUTO -#define ENCODED_BUFFER_SIZE (1 * 1024 * 1024) +#define ENCODED_BUFFER_SIZE (2 * 1024 * 1024) enum { |