genicamsrc: fix device-index property installation

This commit is contained in:
Joshua M. Doe 2018-07-10 14:52:47 -04:00
parent 5e6a0eea99
commit 3e7230e782

View File

@ -289,7 +289,7 @@ gst_genicamsrc_class_init (GstGenicamSrcClass * klass)
DEFAULT_PROP_INTERFACE_ID, DEFAULT_PROP_INTERFACE_ID,
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS |
GST_PARAM_MUTABLE_READY))); GST_PARAM_MUTABLE_READY)));
g_object_class_install_property (gobject_class, PROP_INTERFACE_INDEX, g_object_class_install_property (gobject_class, PROP_DEVICE_INDEX,
g_param_spec_uint ("device-index", "Device index", g_param_spec_uint ("device-index", "Device index",
"Device index number, zero-based, overridden by device-id", "Device index number, zero-based, overridden by device-id",
0, G_MAXUINT, DEFAULT_PROP_DEVICE_INDEX, 0, G_MAXUINT, DEFAULT_PROP_DEVICE_INDEX,