Skip to content

Instantly share code, notes, and snippets.

@sobkas
Created May 25, 2015 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sobkas/a79089bad0b3b5b504c4 to your computer and use it in GitHub Desktop.
Save sobkas/a79089bad0b3b5b504c4 to your computer and use it in GitHub Desktop.
My patch
diff -ru -p1 plexhometheater-1.4.1~/xbmc/peripherals/devices/PeripheralCecAdapter.cpp plexhometheater-1.4.1/xbmc/peripherals/devices/PeripheralCecAdapter.cpp
--- plexhometheater-1.4.1~/xbmc/peripherals/devices/PeripheralCecAdapter.cpp 2015-05-25 09:50:17.751485348 +0200
+++ plexhometheater-1.4.1/xbmc/peripherals/devices/PeripheralCecAdapter.cpp 2015-05-25 09:57:14.878075432 +0200
@@ -1381,3 +1381,7 @@ void CPeripheralCecAdapter::SetConfigura
// double tap prevention timeout in ms
- m_configuration.iDoubleTapTimeoutMs = GetSettingInt("double_tap_timeout_ms");
+ #if defined(CEC_DOUBLE_TAP_TIMEOUT_MS_OLD)
+ m_configuration.iDoubleTapTimeout50Ms = GetSettingInt("double_tap_timeout_ms") / 50;
+ #else
+ m_configuration.iDoubleTapTimeoutMs = GetSettingInt("double_tap_timeout_ms");
+ #endif
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment