mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 21:51:09 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -473,6 +473,7 @@ static void
|
||||||
gst_va_dmabuf_allocator_init (GstVaDmabufAllocator * self)
|
gst_va_dmabuf_allocator_init (GstVaDmabufAllocator * self)
|
||||||
{
|
{
|
||||||
self->available_mems = gst_atomic_queue_new (2);
|
self->available_mems = gst_atomic_queue_new (2);
|
||||||
|
g_cond_init (&self->buffer_cond);
|
||||||
|
|
||||||
self->parent_map = GST_ALLOCATOR (self)->mem_map;
|
self->parent_map = GST_ALLOCATOR (self)->mem_map;
|
||||||
GST_ALLOCATOR (self)->mem_map = gst_va_dmabuf_mem_map;
|
GST_ALLOCATOR (self)->mem_map = gst_va_dmabuf_mem_map;
|
||||||
|
|
Loading…
Reference in a new issue