mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
va: allocator: renamed gst_va_dmabuf_memory_release()
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1626>
This commit is contained in:
parent
1617dcbe9e
commit
10b3250175
1 changed files with 2 additions and 2 deletions
|
@ -463,7 +463,7 @@ _get_fd_size (gint fd)
|
|||
}
|
||||
|
||||
static gboolean
|
||||
gst_va_memory_dispose (GstMiniObject * mini_object)
|
||||
gst_va_dmabuf_memory_release (GstMiniObject * mini_object)
|
||||
{
|
||||
GstMemory *mem = GST_MEMORY_CAST (mini_object);
|
||||
GstVaDmabufAllocator *self = GST_VA_DMABUF_ALLOCATOR (mem->allocator);
|
||||
|
@ -543,7 +543,7 @@ gst_va_dmabuf_allocator_setup_buffer (GstAllocator * allocator,
|
|||
|
||||
gst_buffer_append_memory (buffer, mem);
|
||||
|
||||
GST_MINI_OBJECT (mem)->dispose = gst_va_memory_dispose;
|
||||
GST_MINI_OBJECT (mem)->dispose = gst_va_dmabuf_memory_release;
|
||||
|
||||
g_atomic_int_add (&buf->ref_count, 1);
|
||||
gst_mini_object_set_qdata (GST_MINI_OBJECT (mem),
|
||||
|
|
Loading…
Reference in a new issue