From: Lars Op den Kamp Date: Tue, 12 Mar 2013 23:40:04 +0000 (+0100) Subject: CecTray: use CurrentVersion instead of a hardcoded version X-Git-Tag: upstream/2.2.0~1^2~4^2~26 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fb3f3e1250085e4c60bf7e9bb7d8d215f4dc1c92;p=deb_libcec.git CecTray: use CurrentVersion instead of a hardcoded version --- diff --git a/src/LibCecTray/controller/CECController.cs b/src/LibCecTray/controller/CECController.cs index 6db2267..ec0b0d6 100644 --- a/src/LibCecTray/controller/CECController.cs +++ b/src/LibCecTray/controller/CECController.cs @@ -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);