Merge pull request #3506 from viulian/master

tinkerboard: disable 5s polling for CEC adapters
This commit is contained in:
Jernej Škrabec 2019-06-14 21:37:23 +02:00 committed by GitHub
commit 09f892e5bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View File

@ -91,6 +91,10 @@ configure_package() {
KODI_CEC="-DENABLE_CEC=OFF"
fi
if [ "$CEC_FRAMEWORK_SUPPORT" = "yes" ]; then
PKG_PATCH_DIRS+=" cec-framework"
fi
if [ "$KODI_OPTICAL_SUPPORT" = yes ]; then
KODI_OPTICAL="-DENABLE_OPTICAL=ON"
else

View File

@ -0,0 +1,13 @@
--- kodi-rockchip_18.2rc1-Leia.orig/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp 2019-05-12 07:24:23.921984777 +0200
+++ kodi-rockchip_18.2rc1-Leia/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp 2019-05-12 07:03:41.221761552 +0200
@@ -50,6 +50,10 @@
/** the Pi's adapter cannot be removed, no need to rescan */
m_bNeedsPolling = false;
break;
+ case ADAPTERTYPE_LINUX:
+ /** the Linux adapter cannot be removed, no need to rescan */
+ m_bNeedsPolling = false;
+ break;
default:
break;
}