From 5481b9f52370f002ef0f9fbcbd029c7322e88be3 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Wed, 20 Jan 2021 10:21:29 +0100 Subject: [PATCH] small fix for CEC Signed-off-by: Thilo Graf Try to fix unintended switch to HDM1 on tv with enabled CEC on set top box. --- libarmbox/hdmi_cec.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libarmbox/hdmi_cec.cpp b/libarmbox/hdmi_cec.cpp index 2cbb7e9..cb8bb18 100644 --- a/libarmbox/hdmi_cec.cpp +++ b/libarmbox/hdmi_cec.cpp @@ -408,6 +408,8 @@ void hdmi_cec::SetCECState(bool state) } #endif + GetCECAddressInfo(); + message.initiator = logicalAddress; message.destination = CEC_LOG_ADDR_BROADCAST; message.data[0] = CEC_MSG_ACTIVE_SOURCE;