aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Op den Kamp <lars@opdenkamp.eu>2014-10-28 16:08:00 +0100
committerLars Op den Kamp <lars@opdenkamp.eu>2014-11-01 01:55:13 +0100
commitfa01c108b60f74abb16992c1376bcca896093eac (patch)
treea9cee70d2700f01c3def55dd74dd23e9b58bd300
parent9f1e45a10860dd23239de35673643e9e0e4a74f8 (diff)
[CEC] fixed - don't use CEC_CLIENT_VERSION_CURRENT for the client version, because it will lead to issues when XBMC is rebuilt after a libCEC bump that changes something
-rw-r--r--xbmc/peripherals/devices/PeripheralCecAdapter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/peripherals/devices/PeripheralCecAdapter.cpp b/xbmc/peripherals/devices/PeripheralCecAdapter.cpp
index ad123d9cee..015daef93e 100644
--- a/xbmc/peripherals/devices/PeripheralCecAdapter.cpp
+++ b/xbmc/peripherals/devices/PeripheralCecAdapter.cpp
@@ -1268,8 +1268,8 @@ void CPeripheralCecAdapter::SetConfigurationFromLibCEC(const CEC::libcec_configu
void CPeripheralCecAdapter::SetConfigurationFromSettings(void)
{
- // use the same client version as libCEC version
- m_configuration.clientVersion = CEC_CLIENT_VERSION_CURRENT;
+ // client version matches the version of libCEC that we originally used the API from
+ m_configuration.clientVersion = CEC_CLIENT_VERSION_2_2_0;
// device name 'XBMC'
snprintf(m_configuration.strDeviceName, 13, "%s", GetSettingString("device_name").c_str());