mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-08 04:41:31 +00:00
v4l2bufferpool: dmabuf is not a singleton anymore
https://bugzilla.gnome.org/show_bug.cgi?id=707793
This commit is contained in:
parent
c84282b9a6
commit
d1e16f7b0c
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ gst_v4l2_buffer_pool_set_config (GstBufferPool * bpool, GstStructure * config)
|
|||
pool->copy_threshold = copy_threshold;
|
||||
|
||||
if (obj->mode == GST_V4L2_IO_DMABUF)
|
||||
allocator = gst_dmabuf_allocator_obtain ();
|
||||
allocator = gst_dmabuf_allocator_new ();
|
||||
|
||||
if (pool->allocator)
|
||||
gst_object_unref (pool->allocator);
|
||||
|
|
Loading…
Reference in a new issue