mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
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:
parent
040473f295
commit
af3311c1d6
2 changed files with 4 additions and 4 deletions
|
@ -1716,8 +1716,8 @@ gst_d3d11_allocator_set_active (GstD3D11Allocator * allocator, gboolean active)
|
||||||
g_return_val_if_fail (GST_IS_D3D11_ALLOCATOR (allocator), FALSE);
|
g_return_val_if_fail (GST_IS_D3D11_ALLOCATOR (allocator), FALSE);
|
||||||
|
|
||||||
klass = GST_D3D11_ALLOCATOR_GET_CLASS (allocator);
|
klass = GST_D3D11_ALLOCATOR_GET_CLASS (allocator);
|
||||||
if (klass->set_actvie)
|
if (klass->set_active)
|
||||||
return klass->set_actvie (allocator, active);
|
return klass->set_active (allocator, active);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
@ -1779,7 +1779,7 @@ gst_d3d11_pool_allocator_class_init (GstD3D11PoolAllocatorClass * klass)
|
||||||
gobject_class->dispose = gst_d3d11_pool_allocator_dispose;
|
gobject_class->dispose = gst_d3d11_pool_allocator_dispose;
|
||||||
gobject_class->finalize = gst_d3d11_pool_allocator_finalize;
|
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
|
static void
|
||||||
|
|
|
@ -274,7 +274,7 @@ struct _GstD3D11AllocatorClass
|
||||||
{
|
{
|
||||||
GstAllocatorClass parent_class;
|
GstAllocatorClass parent_class;
|
||||||
|
|
||||||
gboolean (*set_actvie) (GstD3D11Allocator * allocator,
|
gboolean (*set_active) (GstD3D11Allocator * allocator,
|
||||||
gboolean active);
|
gboolean active);
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
|
|
Loading…
Reference in a new issue