CecTray: use CurrentVersion instead of a hardcoded version
authorLars Op den Kamp <lars@opdenkamp.eu>
Tue, 12 Mar 2013 23:40:04 +0000 (00:40 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Tue, 12 Mar 2013 23:48:11 +0000 (00:48 +0100)
src/LibCecTray/controller/CECController.cs

index 6db226790f1ff7adb0036c1c97708b122bd23b00..ec0b0d6ba6a343757705cc3ff7b23035d2027383 100644 (file)
@@ -470,7 +470,7 @@ namespace LibCECTray.controller
       {
         if (_config == null)
         {
-          _config = new LibCECConfiguration { DeviceName = "CEC Tray", ClientVersion = CecClientVersion.Version2_1_0 };
+          _config = new LibCECConfiguration { DeviceName = "CEC Tray", ClientVersion = CecClientVersion.CurrentVersion };
           _config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice;
           _config.SetCallbacks(this);