Commit 681f4197 authored by Nicolas Dufresne's avatar Nicolas Dufresne

dmabufallocator: Fix build if LINUX_DMA_BUF_H is missing

parent 8ee306eb
......@@ -48,9 +48,10 @@ static gpointer
gst_dmabuf_mem_map (GstMemory * gmem, GstMapInfo * info, gsize maxsize)
GstAllocator *allocator = gmem->allocator;
gpointer ret;
struct dma_buf_sync sync = { DMA_BUF_SYNC_START };
gpointer ret;
if (info->flags & GST_MAP_READ)
sync.flags |= DMA_BUF_SYNC_READ;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment