mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
v4l2bufferpool: Respect the suggested min buffer
https://bugzilla.gnome.org/show_bug.cgi?id=720568
This commit is contained in:
parent
a77d2a64c1
commit
994c5d2c93
1 changed files with 1 additions and 1 deletions
|
@ -540,7 +540,7 @@ gst_v4l2_buffer_pool_start (GstBufferPool * bpool)
|
|||
/* request a reasonable number of buffers when no max specified. We will
|
||||
* copy when we run out of buffers */
|
||||
if (max_buffers == 0)
|
||||
num_buffers = 4;
|
||||
num_buffers = MAX (4, min_buffers);
|
||||
else
|
||||
num_buffers = max_buffers;
|
||||
|
||||
|
|
Loading…
Reference in a new issue