mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
ximagesink: don't share memory
This commit is contained in:
parent
b740edff06
commit
470f02d186
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue