From 538d8471f79f8611c950ae443d9206553fb04a7a Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Sun, 29 Jan 2012 18:03:32 +0100 Subject: [PATCH] cec: transmit 'menu state activated' after the stream path has been set to a device that is handled by libCEC. should fix remote commands not working properly on Panasonic TVs and after another source has been active. bugzid: 233 --- src/lib/implementations/CECCommandHandler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp index ebd2ec2..18f6858 100644 --- a/src/lib/implementations/CECCommandHandler.cpp +++ b/src/lib/implementations/CECCommandHandler.cpp @@ -508,6 +508,9 @@ bool CCECCommandHandler::HandleSetStreamPath(const cec_command &command) { device->SetActiveSource(); device->TransmitActiveSource(); + + device->SetMenuState(CEC_MENU_STATE_ACTIVATED); + device->TransmitMenuState(command.initiator); } } return false; -- 2.34.1