xbmc/xbmc — pull request #5610 by opdenkamp (2014-10-31 09:29:09+00:00)
Title: libCEC fixes

This PR updates libCEC to v2.2.0, which is binary compatible with the previous version 2.1.4, and addresses a number of issues that have been reported in 2.1.4:
* deadlock on exit in XBMC because of CEC_ALERT_CONNECTION_LOST callback while closing the connection
* vendor specific handlers weren't used for Toshiba and Onkyo
* various Raspberry Pi fixes
* physical address is now read from xrandr, removing the need to change the "connected to HDMI device" and "HDMI port number" settings on most Linux installations. The settings will be hidden when the address is autodetected

I've also fixed some other issues with CEC in XBMC:
* double tap timeout never worked correctly, because we put '2000' in a byte
* no more 2% CPU spike every 5 seconds on a Pi
* fixed garbage returned by CEC related appmessenger methods

@wsnipex packages are being build on our PPA https://launchpad.net/~pulse-eight/+archive/ubuntu/libcec
@Karlson2k you wanted an x64 build of it last time because you were playing with x64 builds on windows. I've uploaded it to the mirror in case you still need it.