va: allocator: dmabuf: initialize cond
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1815>
This commit is contained in:
parent
a801018ef1
commit
ba4442a29d
@ -473,6 +473,7 @@ static void
|
||||
gst_va_dmabuf_allocator_init (GstVaDmabufAllocator * self)
|
||||
{
|
||||
self->available_mems = gst_atomic_queue_new (2);
|
||||
g_cond_init (&self->buffer_cond);
|
||||
|
||||
self->parent_map = GST_ALLOCATOR (self)->mem_map;
|
||||
GST_ALLOCATOR (self)->mem_map = gst_va_dmabuf_mem_map;
|
||||
|
Loading…
x
Reference in New Issue
Block a user