From 13586bc77a54bec6cb802e904cb3a9a5b9ec2386 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Mon, 17 Feb 2020 15:04:28 +0900 Subject: [PATCH] d3d11device: Fix typo s/vender/vendor --- sys/d3d11/gstd3d11device.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/d3d11/gstd3d11device.c b/sys/d3d11/gstd3d11device.c index 1ba2c5821e..75e8b1362f 100644 --- a/sys/d3d11/gstd3d11device.c +++ b/sys/d3d11/gstd3d11device.c @@ -58,7 +58,7 @@ enum PROP_0, PROP_ADAPTER, PROP_DEVICE_ID, - PROP_VENDER_ID, + PROP_VENDOR_ID, PROP_HARDWARE, PROP_DESCRIPTION, PROP_ALLOW_TEARING, @@ -70,7 +70,7 @@ struct _GstD3D11DevicePrivate { guint adapter; guint device_id; - guint vender_id; + guint vendor_id; gboolean hardware; gchar *description; gboolean allow_tearing; @@ -326,9 +326,9 @@ gst_d3d11_device_class_init (GstD3D11DeviceClass * klass) "DXGI Device ID", 0, G_MAXUINT32, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); - g_object_class_install_property (gobject_class, PROP_VENDER_ID, - g_param_spec_uint ("vender-id", "Vender Id", - "DXGI Vender ID", 0, G_MAXUINT32, 0, + g_object_class_install_property (gobject_class, PROP_VENDOR_ID, + g_param_spec_uint ("vendor-id", "Vendor Id", + "DXGI Vendor ID", 0, G_MAXUINT32, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_HARDWARE, @@ -566,7 +566,7 @@ gst_d3d11_device_constructed (GObject * object) "Flags: 0x%x, %s", priv->adapter, desc.VendorId, desc.DeviceId, desc.Flags, description); - priv->vender_id = desc.VendorId; + priv->vendor_id = desc.VendorId; priv->device_id = desc.DeviceId; priv->hardware = is_hardware; priv->description = description; @@ -685,8 +685,8 @@ gst_d3d11_device_get_property (GObject * object, guint prop_id, case PROP_DEVICE_ID: g_value_set_uint (value, priv->device_id); break; - case PROP_VENDER_ID: - g_value_set_uint (value, priv->vender_id); + case PROP_VENDOR_ID: + g_value_set_uint (value, priv->vendor_id); break; case PROP_HARDWARE: g_value_set_boolean (value, priv->hardware);