mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
va: allocator: remove va allocator mem_is_span() vmethod
Since it is the default by base class. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1626>
This commit is contained in:
parent
a9314b4554
commit
43b950b252
1 changed files with 0 additions and 9 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue