FreeBSD Bugzilla – Attachment 151136 Details for
Bug 196299
[maintainer] multimedia/xbmc: Rename to kodi, Update to 14.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
multimedia/plexhometheater patch for libcec2.2
multimedia__plexhometheater__libcec22.patch (text/plain), 3.19 KB, created by
Ben Woods
on 2014-12-31 05:14:19 UTC
(
hide
)
Description:
multimedia/plexhometheater patch for libcec2.2
Filename:
MIME Type:
Creator:
Ben Woods
Created:
2014-12-31 05:14:19 UTC
Size:
3.19 KB
patch
obsolete
>Index: multimedia/plexhometheater/files/patch-libcec22.patch >=================================================================== >--- multimedia/plexhometheater/files/patch-libcec22.patch (revision 0) >+++ multimedia/plexhometheater/files/patch-libcec22.patch (working copy) >@@ -0,0 +1,50 @@ >+--- system/peripherals.xml.orig 2014-08-25 20:29:00.000000000 +0800 >++++ system/peripherals.xml 2014-12-31 07:15:34.972922137 +0800 >+@@ -28,7 +28,7 @@ >+ <setting key="device_type" type="int" value="1" configurable="0" /> >+ <setting key="wake_devices_advanced" type="string" value="" configurable="0" /> >+ <setting key="standby_devices_advanced" type="string" value="" configurable="0" /> >+- <setting key="double_tap_timeout_ms" type="int" min="0" value="2000" configurable="0" /> >++ <setting key="double_tap_timeout_ms" type="int" min="0" value="300" configurable="0" /> >+ </peripheral> >+ >+ <peripheral vendor_product="2548:1001,2548:1002" bus="usb" name="Pulse-Eight CEC Adapter" mapTo="cec"> >+--- xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp.orig 2014-08-25 20:29:00.000000000 +0800 >++++ xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp 2014-12-31 07:15:34.976923956 +0800 >+@@ -101,6 +101,8 @@ >+ break; >+ case ADAPTERTYPE_RPI: >+ result.m_mappedBusType = PERIPHERAL_BUS_RPI; >++ // the Pi's adapter cannot be removed, no need to rescan >++ m_bNeedsPolling = false; >+ break; >+ default: >+ break; >+--- xbmc/peripherals/devices/PeripheralCecAdapter.cpp.orig 2014-08-25 20:29:00.000000000 +0800 >++++ xbmc/peripherals/devices/PeripheralCecAdapter.cpp 2014-12-31 07:15:34.986923118 +0800 >+@@ -1302,8 +1302,8 @@ >+ >+ 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()); >+@@ -1378,8 +1378,13 @@ >+ m_configuration.bPowerOffOnStandby = iStandbyAction == 13011 ? 1 : 0; >+ m_configuration.bShutdownOnStandby = iStandbyAction == 13005 ? 1 : 0; >+ >+- // double tap prevention timeout in ms >++#if defined(CEC_DOUBLE_TAP_TIMEOUT_MS_OLD) >++ // double tap prevention timeout in ms. libCEC uses 50ms units for this in 2.2.0, so divide by 50 >++ m_configuration.iDoubleTapTimeout50Ms = GetSettingInt("double_tap_timeout_ms") / 50; >++#else >++ // backwards compatibility. will be removed once the next major release of libCEC is out >+ m_configuration.iDoubleTapTimeoutMs = GetSettingInt("double_tap_timeout_ms"); >++#endif >+ } >+ >+ void CPeripheralCecAdapter::ReadLogicalAddresses(const CStdString &strString, cec_logical_addresses &addresses) > >Property changes on: multimedia/plexhometheater/files/patch-libcec22.patch >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 196299
:
150989
|
150990
|
150991
| 151136 |
152008
|
152050
|
152246
|
153166