d3d11memory: Fix typo in vfunc name

s/set_actvie/set_active/g

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3627>
This commit is contained in:
Seungha Yang 2022-12-23 01:00:57 +09:00
parent 040473f295
commit af3311c1d6
2 changed files with 4 additions and 4 deletions

View file

@ -1716,8 +1716,8 @@ gst_d3d11_allocator_set_active (GstD3D11Allocator * allocator, gboolean active)
g_return_val_if_fail (GST_IS_D3D11_ALLOCATOR (allocator), FALSE);
klass = GST_D3D11_ALLOCATOR_GET_CLASS (allocator);
if (klass->set_actvie)
return klass->set_actvie (allocator, active);
if (klass->set_active)
return klass->set_active (allocator, active);
return TRUE;
}
@ -1779,7 +1779,7 @@ gst_d3d11_pool_allocator_class_init (GstD3D11PoolAllocatorClass * klass)
gobject_class->dispose = gst_d3d11_pool_allocator_dispose;
gobject_class->finalize = gst_d3d11_pool_allocator_finalize;
d3d11alloc_class->set_actvie = gst_d3d11_pool_allocator_set_active;
d3d11alloc_class->set_active = gst_d3d11_pool_allocator_set_active;
}
static void

View file

@ -274,7 +274,7 @@ struct _GstD3D11AllocatorClass
{
GstAllocatorClass parent_class;
gboolean (*set_actvie) (GstD3D11Allocator * allocator,
gboolean (*set_active) (GstD3D11Allocator * allocator,
gboolean active);
/*< private >*/