mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
Revert "v4l2bufferpool: request the maximum number of buffers for USERPTR"
This reverts commit 6bf9f4bd77
.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/651>
This commit is contained in:
parent
d4ac154824
commit
1beb497aa7
1 changed files with 2 additions and 3 deletions
|
@ -826,10 +826,9 @@ gst_v4l2_buffer_pool_start (GstBufferPool * bpool)
|
||||||
can_allocate =
|
can_allocate =
|
||||||
GST_V4L2_ALLOCATOR_CAN_ALLOCATE (pool->vallocator, USERPTR);
|
GST_V4L2_ALLOCATOR_CAN_ALLOCATE (pool->vallocator, USERPTR);
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (pool, "requesting %d USERPTR import slots",
|
GST_DEBUG_OBJECT (pool, "requesting %d USERPTR buffers", min_buffers);
|
||||||
max_buffers);
|
|
||||||
|
|
||||||
count = gst_v4l2_allocator_start (pool->vallocator, max_buffers,
|
count = gst_v4l2_allocator_start (pool->vallocator, min_buffers,
|
||||||
V4L2_MEMORY_USERPTR);
|
V4L2_MEMORY_USERPTR);
|
||||||
|
|
||||||
/* There is no rational to not get what we asked */
|
/* There is no rational to not get what we asked */
|
||||||
|
|
Loading…
Reference in a new issue