cec: create a default device type config in LibCecSharp
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 10 Feb 2012 11:44:11 +0000 (12:44 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 10 Feb 2012 11:44:11 +0000 (12:44 +0100)
src/LibCecSharp/CecSharpTypes.h

index 975c71d312b8376c80e8fa303642456c6353d51a..2c158a5d64dbdb7b78c919c58c55a28cf37e4419 100644 (file)
@@ -669,6 +669,7 @@ namespace CecSharp
                LibCECConfiguration(void)
                {
                        DeviceName          = "";
+                       DeviceTypes         = gcnew CecDeviceTypeList();
                        PhysicalAddress     = CEC_DEFAULT_PHYSICAL_ADDRESS;
                        BaseDevice          = (CecLogicalAddress)CEC_DEFAULT_BASE_DEVICE;
                        HDMIPort            = CEC_DEFAULT_HDMI_PORT;