v4l2bufferpool: Preserve downstream minimum even in RW
This commit is contained in:
parent
7b8bb7188b
commit
fa6cd1d25a
@ -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…
x
Reference in New Issue
Block a user