summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2013-09-11 14:27:02 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2013-09-18 15:13:59 -0400
commitd1e16f7b0c425502d3aecdb50aa2b659f25b2e89 (patch)
tree8e3a5d83d187dc1156216c5398f7f9850de5b0d8
parentc84282b9a6bfe9383172c4f8ed28b655cfe84f2f (diff)
v4l2bufferpool: dmabuf is not a singleton anymore
https://bugzilla.gnome.org/show_bug.cgi?id=707793
-rw-r--r--sys/v4l2/gstv4l2bufferpool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c
index deb6d6fa8..0bc88ca7b 100644
--- a/sys/v4l2/gstv4l2bufferpool.c
+++ b/sys/v4l2/gstv4l2bufferpool.c
@@ -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);