mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
pool: make buffer writable
We need writable buffers when we need to do a slow memcpy.
This commit is contained in:
parent
e9d80b9f14
commit
1ef806181c
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool, guint index, GstCaps * caps)
|
|||
goto mmap_failed;
|
||||
|
||||
gst_buffer_take_memory (ret, -1,
|
||||
gst_memory_new_wrapped (GST_MEMORY_FLAG_READONLY,
|
||||
gst_memory_new_wrapped (0,
|
||||
meta->mem, NULL, meta->vbuffer.length, 0, meta->vbuffer.length));
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue