mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
v4l2object: Set minimum buffers to 2
All the element requires at least two buffers. This is not used for RW mode.
This commit is contained in:
parent
3393083497
commit
5a61fb7f25
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ typedef struct _GstV4l2Xv GstV4l2Xv;
|
|||
#include <gstv4l2bufferpool.h>
|
||||
|
||||
/* size of v4l2 buffer pool in streaming case */
|
||||
#define GST_V4L2_MIN_BUFFERS 1
|
||||
#define GST_V4L2_MIN_BUFFERS 2
|
||||
|
||||
/* max frame width/height */
|
||||
#define GST_V4L2_MAX_SIZE (1<<15) /* 2^15 == 32768 */
|
||||
|
|
Loading…
Reference in a new issue