Revert "v4l2bufferpool: request the maximum number of buffers for DMABUF"
This reverts commit 94e323c10f2d7fa85bf63f357d203ca5305800c6. Fixes #754 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/651>
This commit is contained in:
parent
83f60aea54
commit
d4ac154824
@ -847,9 +847,9 @@ gst_v4l2_buffer_pool_start (GstBufferPool * bpool)
|
||||
|
||||
can_allocate = GST_V4L2_ALLOCATOR_CAN_ALLOCATE (pool->vallocator, DMABUF);
|
||||
|
||||
GST_DEBUG_OBJECT (pool, "requesting %d DMABUF import slots", max_buffers);
|
||||
GST_DEBUG_OBJECT (pool, "requesting %d DMABUF buffers", min_buffers);
|
||||
|
||||
count = gst_v4l2_allocator_start (pool->vallocator, max_buffers,
|
||||
count = gst_v4l2_allocator_start (pool->vallocator, min_buffers,
|
||||
V4L2_MEMORY_DMABUF);
|
||||
|
||||
/* There is no rational to not get what we asked */
|
||||
|
Loading…
x
Reference in New Issue
Block a user