v4l2bufferpool: dmabuf is not a singleton anymore
authorOlivier Crête <olivier.crete@collabora.com>
Wed, 11 Sep 2013 18:27:02 +0000 (14:27 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Wed, 18 Sep 2013 19:13:59 +0000 (15:13 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=707793

sys/v4l2/gstv4l2bufferpool.c

index deb6d6fa86eb9e95901f4fe9d594477a1d8c1dff..0bc88ca7b6ba322474fc1240cc231b4f7834a242 100644 (file)
@@ -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);