From 43b950b2520bbd7ba644668a45466d99f84a7781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Thu, 24 Sep 2020 17:32:47 +0200 Subject: [PATCH] va: allocator: remove va allocator mem_is_span() vmethod Since it is the default by base class. Part-of: --- sys/va/gstvaallocator.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sys/va/gstvaallocator.c b/sys/va/gstvaallocator.c index a065a7b385..5d00e40744 100644 --- a/sys/va/gstvaallocator.c +++ b/sys/va/gstvaallocator.c @@ -948,14 +948,6 @@ _va_share (GstMemory * mem, gssize offset, gssize size) return NULL; } -static gboolean -_va_is_span (GstMemory * mem1, GstMemory * mem2, gsize * offset) -{ - /* VA surfaces are opaque structures, which might live in other - * memory. It is impossible to know, so far, if they can mergable. */ - return FALSE; -} - static void gst_va_allocator_init (GstVaAllocator * self) { @@ -966,7 +958,6 @@ gst_va_allocator_init (GstVaAllocator * self) allocator->mem_unmap = (GstMemoryUnmapFunction) _va_unmap; allocator->mem_copy = (GstMemoryCopyFunction) _va_copy; allocator->mem_share = _va_share; - allocator->mem_is_span = _va_is_span; self->use_derived = TRUE;