From: Lars Op den Kamp Date: Sun, 29 Jan 2012 17:03:32 +0000 (+0100) Subject: cec: transmit 'menu state activated' after the stream path has been set to a device... X-Git-Tag: upstream/2.2.0~1^2~36^2~39 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=538d8471f79f8611c950ae443d9206553fb04a7a;p=deb_libcec.git 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 --- 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;