Commit 470f02d1 authored by Wim Taymans's avatar Wim Taymans

ximagesink: don't share memory

parent b740edff
......@@ -359,8 +359,8 @@ ximage_memory_alloc (GstXImageBufferPool * xpool)
error_caught = FALSE;
XSetErrorHandler (handler);
gst_memory_init (GST_MEMORY_CAST (mem), 0, xpool->allocator,
NULL, mem->size + align, align, offset, mem->size);
gst_memory_init (GST_MEMORY_CAST (mem), GST_MEMORY_FLAG_NO_SHARE,
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