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
This commit is contained in:
Ayaka 2015-10-05 16:20:19 +01:00 committed by Nicolas Dufresne
parent a9f9166004
commit 342de49bf6

View file

@ -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
{