Commit fa6cd1d2 authored by Nicolas Dufresne's avatar Nicolas Dufresne

v4l2bufferpool: Preserve downstream minimum even in RW

parent 7b8bb718
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment