mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
v4l2bufferpool: Preserve downstream minimum even in RW
This commit is contained in:
parent
7b8bb7188b
commit
fa6cd1d25a
1 changed files with 3 additions and 3 deletions
|
@ -388,9 +388,9 @@ gst_v4l2_buffer_pool_start (GstBufferPool * bpool)
|
|||
|
||||
switch (obj->mode) {
|
||||
case GST_V4L2_IO_RW:
|
||||
/* we preallocate 1 buffer, this value also instructs the latency
|
||||
* calculation to have 1 frame latency max */
|
||||
num_buffers = 1;
|
||||
/* this value also instructs the latency calculation to have min_buffers
|
||||
* frame latency max */
|
||||
num_buffers = min_buffers;
|
||||
break;
|
||||
case GST_V4L2_IO_DMABUF:
|
||||
case GST_V4L2_IO_MMAP:
|
||||
|
|
Loading…
Reference in a new issue