X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FVLCommandHandler.cpp;h=06468f890d46126cd4b6c75258ca4edb272a80bb;hb=6d7c0fa8175a5e8525dc6faacd6d156938353ec4;hp=59eb5747cb6cc9693415286f836337647c5e1aab;hpb=0a61dc2416f3eacb839ff67ac5abf0024c1d2f40;p=deb_libcec.git diff --git a/src/lib/implementations/VLCommandHandler.cpp b/src/lib/implementations/VLCommandHandler.cpp index 59eb574..06468f8 100644 --- a/src/lib/implementations/VLCommandHandler.cpp +++ b/src/lib/implementations/VLCommandHandler.cpp @@ -121,7 +121,8 @@ bool CVLCommandHandler::TransmitActiveSource(const cec_logical_address iInitiato else { // transmit standard active source message - return CCECCommandHandler::TransmitActiveSource(iInitiator, iPhysicalAddress); + return CCECCommandHandler::TransmitActiveSource(iInitiator, iPhysicalAddress) && + TransmitMenuState(iInitiator, CECDEVICE_TV, CEC_MENU_STATE_ACTIVATED); } } @@ -137,7 +138,8 @@ bool CVLCommandHandler::TransmitPendingActiveSourceCommands(void) if (bTransmitCommand) { LIB_CEC->AddLog(CEC_LOG_DEBUG, "transmitting delayed activate source command"); - return CCECCommandHandler::TransmitActiveSource(m_busDevice->GetLogicalAddress(), m_busDevice->GetCurrentPhysicalAddress()); + return CCECCommandHandler::TransmitActiveSource(m_busDevice->GetLogicalAddress(), m_busDevice->GetCurrentPhysicalAddress()) && + TransmitMenuState(m_busDevice->GetLogicalAddress(), CECDEVICE_TV, CEC_MENU_STATE_ACTIVATED); } return true; }