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:
Alessandro Decina 2016-01-12 14:02:46 +11:00
parent f94079c1a9
commit 45b40b8467

View file

@ -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);