mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
xbmc-pvr: update libcec patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8296e8d7a1
commit
21dc87b880
@ -1,7 +1,7 @@
|
|||||||
From 93e3b1bf60b03132f3aa3f85194385364abfeb6a Mon Sep 17 00:00:00 2001
|
From c5de139dd38edbbc287156b3b8cdd44832d5ffa6 Mon Sep 17 00:00:00 2001
|
||||||
From: Lars Op den Kamp <lars@opdenkamp.eu>
|
From: Lars Op den Kamp <lars@opdenkamp.eu>
|
||||||
Date: Sun, 11 Dec 2011 23:42:17 +0100
|
Date: Sun, 11 Dec 2011 23:42:17 +0100
|
||||||
Subject: [PATCH 1/4] cec: added volume control on a CEC enabled amplifier
|
Subject: [PATCH 1/5] cec: added volume control on a CEC enabled amplifier
|
||||||
when one is found
|
when one is found
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -346,10 +346,10 @@ index 2fcbb1d..e1e302d 100644
|
|||||||
1.7.5.4
|
1.7.5.4
|
||||||
|
|
||||||
|
|
||||||
From 3a093c1931360c98bdeac8d40b9fdf9b69c778a0 Mon Sep 17 00:00:00 2001
|
From ae2c826c312e35cfa502fc9242a74a3c3ab5883e Mon Sep 17 00:00:00 2001
|
||||||
From: Lars Op den Kamp <lars@opdenkamp.eu>
|
From: Lars Op den Kamp <lars@opdenkamp.eu>
|
||||||
Date: Sun, 11 Dec 2011 23:43:17 +0100
|
Date: Sun, 11 Dec 2011 23:43:17 +0100
|
||||||
Subject: [PATCH 2/4] cec: set the HDMI port and the device to which the CEC
|
Subject: [PATCH 2/5] cec: set the HDMI port and the device to which the CEC
|
||||||
adapter was connected, to be able to determine the
|
adapter was connected, to be able to determine the
|
||||||
correct physical address. this is a work around, until
|
correct physical address. this is a work around, until
|
||||||
the CEC adapter's firmware supports physical address
|
the CEC adapter's firmware supports physical address
|
||||||
@ -436,10 +436,10 @@ index e1e302d..768e38a 100644
|
|||||||
1.7.5.4
|
1.7.5.4
|
||||||
|
|
||||||
|
|
||||||
From 7b49cb45bf33f7f00784c3655a95756f34de2f51 Mon Sep 17 00:00:00 2001
|
From 6deabbe2e0bae23d0cdfef4a7bad7e9821f14bcf Mon Sep 17 00:00:00 2001
|
||||||
From: Lars Op den Kamp <lars@opdenkamp.eu>
|
From: Lars Op den Kamp <lars@opdenkamp.eu>
|
||||||
Date: Sun, 11 Dec 2011 23:44:29 +0100
|
Date: Sun, 11 Dec 2011 23:44:29 +0100
|
||||||
Subject: [PATCH 3/4] cec: audiosystem control and the previous commit require
|
Subject: [PATCH 3/5] cec: audiosystem control and the previous commit require
|
||||||
libcec v1.3 or higher
|
libcec v1.3 or higher
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -494,10 +494,10 @@ index c6b44c0..38f9162 100644
|
|||||||
1.7.5.4
|
1.7.5.4
|
||||||
|
|
||||||
|
|
||||||
From bbb7dfa9c9d4c21b55034562de902d62ee644adb Mon Sep 17 00:00:00 2001
|
From 7f618c4711cbea89f4fbf2ca7a233edf43269476 Mon Sep 17 00:00:00 2001
|
||||||
From: Lars Op den Kamp <lars@opdenkamp.eu>
|
From: Lars Op den Kamp <lars@opdenkamp.eu>
|
||||||
Date: Wed, 21 Dec 2011 00:05:54 +0100
|
Date: Wed, 21 Dec 2011 00:05:54 +0100
|
||||||
Subject: [PATCH 4/4] cec: improved the volume change response time
|
Subject: [PATCH 4/5] cec: improved the volume change response time
|
||||||
|
|
||||||
---
|
---
|
||||||
xbmc/peripherals/devices/PeripheralCecAdapter.cpp | 33 ++++++++++++--------
|
xbmc/peripherals/devices/PeripheralCecAdapter.cpp | 33 ++++++++++++--------
|
||||||
@ -580,3 +580,45 @@ index d0c4e6c..9a49a46 100644
|
|||||||
--
|
--
|
||||||
1.7.5.4
|
1.7.5.4
|
||||||
|
|
||||||
|
|
||||||
|
From 1a6721555acdb5bebd697fd55ef720da84fe7f1e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Lars Op den Kamp <lars@opdenkamp.eu>
|
||||||
|
Date: Tue, 20 Dec 2011 21:17:46 +0100
|
||||||
|
Subject: [PATCH 5/5] cec: don't send playstate updates, but always keep the
|
||||||
|
default playstate. fixes buttons becoming deactivated
|
||||||
|
on some TVs. it also wasn't very fast, which resulted
|
||||||
|
in delays when starting/stopping playback
|
||||||
|
|
||||||
|
---
|
||||||
|
xbmc/peripherals/devices/PeripheralCecAdapter.cpp | 15 ---------------
|
||||||
|
1 files changed, 0 insertions(+), 15 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/xbmc/peripherals/devices/PeripheralCecAdapter.cpp b/xbmc/peripherals/devices/PeripheralCecAdapter.cpp
|
||||||
|
index 9a49a46..8990478 100644
|
||||||
|
--- a/xbmc/peripherals/devices/PeripheralCecAdapter.cpp
|
||||||
|
+++ b/xbmc/peripherals/devices/PeripheralCecAdapter.cpp
|
||||||
|
@@ -175,21 +175,6 @@ void CPeripheralCecAdapter::Announce(EAnnouncementFlag flag, const char *sender,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
- else if (flag == Player && !strcmp(sender, "xbmc") && !strcmp(message, "OnStop"))
|
||||||
|
- {
|
||||||
|
- m_cecAdapter->SetDeckControlMode(CEC_DECK_CONTROL_MODE_STOP, false);
|
||||||
|
- m_cecAdapter->SetDeckInfo(CEC_DECK_INFO_STOP);
|
||||||
|
- }
|
||||||
|
- else if (flag == Player && !strcmp(sender, "xbmc") && !strcmp(message, "OnPause"))
|
||||||
|
- {
|
||||||
|
- m_cecAdapter->SetDeckControlMode(CEC_DECK_CONTROL_MODE_SKIP_FORWARD_WIND, false);
|
||||||
|
- m_cecAdapter->SetDeckInfo(CEC_DECK_INFO_STILL);
|
||||||
|
- }
|
||||||
|
- else if (flag == Player && !strcmp(sender, "xbmc") && !strcmp(message, "OnPlay"))
|
||||||
|
- {
|
||||||
|
- m_cecAdapter->SetDeckControlMode(CEC_DECK_CONTROL_MODE_SKIP_FORWARD_WIND, false);
|
||||||
|
- m_cecAdapter->SetDeckInfo(CEC_DECK_INFO_PLAY);
|
||||||
|
- }
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CPeripheralCecAdapter::InitialiseFeature(const PeripheralFeature feature)
|
||||||
|
--
|
||||||
|
1.7.5.4
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user