mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
applemedia: iosurfacememory: remove NO_SHARE flag
The full memory can be safely shared. Sharing a sub region can't be done and will fail in the base allocator, triggering a copy.
This commit is contained in:
parent
f94079c1a9
commit
45b40b8467
1 changed files with 0 additions and 1 deletions
|
@ -173,7 +173,6 @@ _io_surface_memory_new (GstGLContext * context,
|
|||
target, NULL, info, plane, valign, user_data, notify);
|
||||
|
||||
GST_MINI_OBJECT_FLAG_SET (mem, GST_MEMORY_FLAG_READONLY);
|
||||
GST_MINI_OBJECT_FLAG_SET (mem, GST_MEMORY_FLAG_NO_SHARE);
|
||||
|
||||
mem->surface = NULL;
|
||||
_io_surface_memory_set_surface (mem, surface);
|
||||
|
|
Loading…
Reference in a new issue