ximagesink: don't share memory

This commit is contained in:
Wim Taymans 2013-03-05 16:41:52 +01:00
parent b740edff06
commit 470f02d186

View file

@ -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);