From 45b40b846777a0c0e23c7525b5e15093e3b98f2a Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Tue, 12 Jan 2016 14:02:46 +1100 Subject: [PATCH] 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. --- sys/applemedia/iosurfacememory.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/applemedia/iosurfacememory.c b/sys/applemedia/iosurfacememory.c index 04acc518fa..de57bb24dc 100644 --- a/sys/applemedia/iosurfacememory.c +++ b/sys/applemedia/iosurfacememory.c @@ -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);