mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
d3d11device: Fix typo
s/vender/vendor
This commit is contained in:
parent
8ead80eecd
commit
13586bc77a
1 changed files with 8 additions and 8 deletions
|
@ -58,7 +58,7 @@ enum
|
||||||
PROP_0,
|
PROP_0,
|
||||||
PROP_ADAPTER,
|
PROP_ADAPTER,
|
||||||
PROP_DEVICE_ID,
|
PROP_DEVICE_ID,
|
||||||
PROP_VENDER_ID,
|
PROP_VENDOR_ID,
|
||||||
PROP_HARDWARE,
|
PROP_HARDWARE,
|
||||||
PROP_DESCRIPTION,
|
PROP_DESCRIPTION,
|
||||||
PROP_ALLOW_TEARING,
|
PROP_ALLOW_TEARING,
|
||||||
|
@ -70,7 +70,7 @@ struct _GstD3D11DevicePrivate
|
||||||
{
|
{
|
||||||
guint adapter;
|
guint adapter;
|
||||||
guint device_id;
|
guint device_id;
|
||||||
guint vender_id;
|
guint vendor_id;
|
||||||
gboolean hardware;
|
gboolean hardware;
|
||||||
gchar *description;
|
gchar *description;
|
||||||
gboolean allow_tearing;
|
gboolean allow_tearing;
|
||||||
|
@ -326,9 +326,9 @@ gst_d3d11_device_class_init (GstD3D11DeviceClass * klass)
|
||||||
"DXGI Device ID", 0, G_MAXUINT32, 0,
|
"DXGI Device ID", 0, G_MAXUINT32, 0,
|
||||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_VENDER_ID,
|
g_object_class_install_property (gobject_class, PROP_VENDOR_ID,
|
||||||
g_param_spec_uint ("vender-id", "Vender Id",
|
g_param_spec_uint ("vendor-id", "Vendor Id",
|
||||||
"DXGI Vender ID", 0, G_MAXUINT32, 0,
|
"DXGI Vendor ID", 0, G_MAXUINT32, 0,
|
||||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_HARDWARE,
|
g_object_class_install_property (gobject_class, PROP_HARDWARE,
|
||||||
|
@ -566,7 +566,7 @@ gst_d3d11_device_constructed (GObject * object)
|
||||||
"Flags: 0x%x, %s",
|
"Flags: 0x%x, %s",
|
||||||
priv->adapter, desc.VendorId, desc.DeviceId, desc.Flags, description);
|
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->device_id = desc.DeviceId;
|
||||||
priv->hardware = is_hardware;
|
priv->hardware = is_hardware;
|
||||||
priv->description = description;
|
priv->description = description;
|
||||||
|
@ -685,8 +685,8 @@ gst_d3d11_device_get_property (GObject * object, guint prop_id,
|
||||||
case PROP_DEVICE_ID:
|
case PROP_DEVICE_ID:
|
||||||
g_value_set_uint (value, priv->device_id);
|
g_value_set_uint (value, priv->device_id);
|
||||||
break;
|
break;
|
||||||
case PROP_VENDER_ID:
|
case PROP_VENDOR_ID:
|
||||||
g_value_set_uint (value, priv->vender_id);
|
g_value_set_uint (value, priv->vendor_id);
|
||||||
break;
|
break;
|
||||||
case PROP_HARDWARE:
|
case PROP_HARDWARE:
|
||||||
g_value_set_boolean (value, priv->hardware);
|
g_value_set_boolean (value, priv->hardware);
|
||||||
|
|
Loading…
Reference in a new issue