From 470f02d186dccc6cd823ae762c856b92e3ff2f93 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 5 Mar 2013 16:41:52 +0100 Subject: [PATCH] ximagesink: don't share memory --- sys/ximage/ximagepool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/ximage/ximagepool.c b/sys/ximage/ximagepool.c index 249bdc71c6..f1312bc9ac 100644 --- a/sys/ximage/ximagepool.c +++ b/sys/ximage/ximagepool.c @@ -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);