mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 23:48:53 +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;
|
error_caught = FALSE;
|
||||||
XSetErrorHandler (handler);
|
XSetErrorHandler (handler);
|
||||||
|
|
||||||
gst_memory_init (GST_MEMORY_CAST (mem), 0, xpool->allocator,
|
gst_memory_init (GST_MEMORY_CAST (mem), GST_MEMORY_FLAG_NO_SHARE,
|
||||||
NULL, mem->size + align, align, offset, mem->size);
|
xpool->allocator, NULL, mem->size + align, align, offset, mem->size);
|
||||||
|
|
||||||
g_mutex_unlock (&ximagesink->x_lock);
|
g_mutex_unlock (&ximagesink->x_lock);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue