mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
va: allocator: remove parameter from _create_buffer_surface()
Don't the allocator to _create_buffer_surface() since it's not used. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1516>
This commit is contained in:
parent
80de32b017
commit
7c696b67be
1 changed files with 3 additions and 3 deletions
|
@ -409,8 +409,8 @@ gst_va_dmabuf_allocator_new (GstVaDisplay * display)
|
|||
}
|
||||
|
||||
static GstVaBufferSurface *
|
||||
_create_buffer_surface (GstVaDmabufAllocator * self, VASurfaceID surface,
|
||||
GstVideoFormat format, gint width, gint height)
|
||||
_create_buffer_surface (VASurfaceID surface, GstVideoFormat format,
|
||||
gint width, gint height)
|
||||
{
|
||||
GstVaBufferSurface *buf = g_slice_new (GstVaBufferSurface);
|
||||
|
||||
|
@ -485,7 +485,7 @@ gst_va_dmabuf_setup_buffer (GstAllocator * allocator, GstBuffer * buffer,
|
|||
goto failed;
|
||||
}
|
||||
|
||||
buf = _create_buffer_surface (self, surface, format, desc.width, desc.height);
|
||||
buf = _create_buffer_surface (surface, format, desc.width, desc.height);
|
||||
|
||||
for (i = 0; i < desc.num_objects; i++) {
|
||||
gint fd = desc.objects[i].fd;
|
||||
|
|
Loading…
Reference in a new issue