mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
dmabuf: set the initial memory size to the full size
https://bugzilla.gnome.org/show_bug.cgi?id=700427
This commit is contained in:
parent
77405b97ed
commit
ced858fa65
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ gst_dmabuf_allocator_alloc (GstAllocator * allocator, gint fd, gsize size)
|
|||
|
||||
mem = g_slice_new0 (GstDmaBufMemory);
|
||||
|
||||
gst_memory_init (GST_MEMORY_CAST (mem), 0, allocator, NULL, size, 0, 0, 0);
|
||||
gst_memory_init (GST_MEMORY_CAST (mem), 0, allocator, NULL, size, 0, 0, size);
|
||||
|
||||
mem->fd = fd;
|
||||
g_mutex_init (&mem->lock);
|
||||
|
|
Loading…
Reference in a new issue