mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
v4l2: mark memory as no-share
We don't support sharing our mmapped memory so mark it as NO_SHARE.
This commit is contained in:
parent
9fe11d0d11
commit
5d7d4e0d9b
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ gst_v4l2_buffer_pool_alloc_buffer (GstBufferPool * bpool, GstBuffer ** buffer,
|
|||
goto mmap_failed;
|
||||
|
||||
gst_buffer_append_memory (newbuf,
|
||||
gst_memory_new_wrapped (0,
|
||||
gst_memory_new_wrapped (GST_MEMORY_FLAG_NO_SHARE,
|
||||
meta->mem, meta->vbuffer.length, 0, meta->vbuffer.length, NULL,
|
||||
NULL));
|
||||
|
||||
|
|
Loading…
Reference in a new issue