From 3169358fb5b24379f10783b0be09aaaf2c245bed Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 4 Nov 2014 20:06:36 +0100 Subject: [PATCH] projects/imx6/patches/kodi: add patch to support libcec-2.1 Signed-off-by: Stephan Raue --- .../kodi/kodi-999.01-enable-libcec-2.1-support.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 projects/imx6/patches/kodi/kodi-999.01-enable-libcec-2.1-support.patch diff --git a/projects/imx6/patches/kodi/kodi-999.01-enable-libcec-2.1-support.patch b/projects/imx6/patches/kodi/kodi-999.01-enable-libcec-2.1-support.patch new file mode 100644 index 0000000000..464529b948 --- /dev/null +++ b/projects/imx6/patches/kodi/kodi-999.01-enable-libcec-2.1-support.patch @@ -0,0 +1,12 @@ +diff -Naur kodi-14-d6947be/xbmc/peripherals/devices/PeripheralCecAdapter.cpp kodi-14-d6947be.patch/xbmc/peripherals/devices/PeripheralCecAdapter.cpp +--- kodi-14-d6947be/xbmc/peripherals/devices/PeripheralCecAdapter.cpp 2014-11-03 19:59:12.000000000 +0100 ++++ kodi-14-d6947be.patch/xbmc/peripherals/devices/PeripheralCecAdapter.cpp 2014-11-04 11:47:00.790424301 +0100 +@@ -1269,7 +1269,7 @@ + void CPeripheralCecAdapter::SetConfigurationFromSettings(void) + { + // client version matches the version of libCEC that we originally used the API from +- m_configuration.clientVersion = CEC_CLIENT_VERSION_2_2_0; ++ m_configuration.clientVersion = CEC_CLIENT_VERSION_CURRENT; + + // device name 'XBMC' + snprintf(m_configuration.strDeviceName, 13, "%s", GetSettingString("device_name").c_str());