mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-30 12:00:41 +00:00
libcec: move imx6 patches to project folder, build libcec-2.1.4 for imx6 project
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8783b8a708
commit
65f7251125
@ -17,12 +17,20 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libcec"
|
||||
PKG_VERSION="2.2.0"
|
||||
case "$KODIPLAYER_DRIVER" in
|
||||
libfslvpuwrap)
|
||||
PKG_VERSION="2.1.4"
|
||||
PKG_URL="http://packages.pulse-eight.net/pulse/sources/libcec/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
;;
|
||||
*)
|
||||
PKG_VERSION="2.2.0"
|
||||
PKG_URL="http://mirrors.xbmc.org/build-deps/sources/$PKG_NAME-$PKG_VERSION-3.tar.gz"
|
||||
;;
|
||||
esac
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://libcec.pulse-eight.com/"
|
||||
PKG_URL="http://mirrors.xbmc.org/build-deps/sources/$PKG_NAME-$PKG_VERSION-3.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain systemd lockdev"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="system"
|
||||
|
File diff suppressed because it is too large
Load Diff
37
projects/imx6/patches/libcec/libcec-mk01-libCEC-fixes.patch
Normal file
37
projects/imx6/patches/libcec/libcec-mk01-libCEC-fixes.patch
Normal file
@ -0,0 +1,37 @@
|
||||
From 2a579cc8641a4cf2aba9c03274de68064508ff06 Mon Sep 17 00:00:00 2001
|
||||
From: Matus Kral <matuskral@me.com>
|
||||
Date: Sun, 25 May 2014 07:03:32 +0200
|
||||
Subject: [PATCH] this solves problem with device dissapearing from TV's menu
|
||||
when source is changed to another device.
|
||||
|
||||
(needs fix on adapter side to correctly mark devices with
|
||||
"ishandledbycec").
|
||||
---
|
||||
src/lib/implementations/CECCommandHandler.cpp | 13 ++++++++-----
|
||||
1 file changed, 8 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp
|
||||
index 29d1ffb..a89ebe6 100644
|
||||
--- a/src/lib/implementations/CECCommandHandler.cpp
|
||||
+++ b/src/lib/implementations/CECCommandHandler.cpp
|
||||
@@ -592,12 +592,15 @@ int CCECCommandHandler::HandleSetStreamPath(const cec_command &command)
|
||||
CCECBusDevice *device = GetDeviceByPhysicalAddress(iStreamAddress);
|
||||
if (device)
|
||||
{
|
||||
- if (device->IsHandledByLibCEC() && !device->IsActiveSource())
|
||||
- device->ActivateSource();
|
||||
- else
|
||||
+ if (device->IsHandledByLibCEC())
|
||||
{
|
||||
- device->MarkAsActiveSource();
|
||||
- device->TransmitActiveSource(true);
|
||||
+ if (!device->IsActiveSource())
|
||||
+ device->ActivateSource();
|
||||
+ else
|
||||
+ {
|
||||
+ device->MarkAsActiveSource();
|
||||
+ device->TransmitActiveSource(true);
|
||||
+ }
|
||||
}
|
||||
return COMMAND_HANDLED;
|
||||
}
|
Loading…
Reference in New Issue
Block a user