Commit 07adc839 authored by Olivier Crête's avatar Olivier Crête

ximagesink: Separate memory pooling allow XImage mem sharing

parent a640df59
......@@ -365,7 +365,7 @@ ximage_memory_alloc (GstXImageBufferPool * xpool)
error_caught = FALSE;
XSetErrorHandler (handler);
gst_memory_init (GST_MEMORY_CAST (mem), GST_MEMORY_FLAG_NO_SHARE,
gst_memory_init (GST_MEMORY_CAST (mem), 0,
xpool->allocator, NULL, mem->size + align, align, offset, mem->size);
g_mutex_unlock (&ximagesink->x_lock);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment