From 3c20db73ff7b7cd7f8db54d874a06e8b8db72392 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Wed, 21 Dec 2011 00:27:42 +0100 Subject: [PATCH] cec: transmit an active source message when transmitting the physical address --- src/lib/implementations/CECCommandHandler.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp index 5a3de0b..be2a9bd 100644 --- a/src/lib/implementations/CECCommandHandler.cpp +++ b/src/lib/implementations/CECCommandHandler.cpp @@ -299,7 +299,11 @@ bool CCECCommandHandler::HandleGivePhysicalAddress(const cec_command &command) { CCECBusDevice *device = GetDevice(command.destination); if (device) - return device->TransmitPhysicalAddress(); + { + device->SetActiveSource(); + return device->TransmitPhysicalAddress() && + device->TransmitActiveSource(); + } } return false; -- 2.34.1