cec: send a 'menu state activated' command when starting up. bugzid: 113
authorLars Op den Kamp <lars@opdenkamp.eu>
Tue, 20 Dec 2011 20:08:38 +0000 (21:08 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Tue, 20 Dec 2011 20:08:44 +0000 (21:08 +0100)
src/lib/CECProcessor.cpp

index 726f316f9da047719526f7ab24e64118afed18d8..8cc290cca4ca20c4270fe402892985b2916cddb2 100644 (file)
@@ -157,6 +157,8 @@ bool CCECProcessor::Start(const char *strPort, uint16_t iBaudRate /* = 38400 */,
 
     if (SetHDMIPort(m_iBaseDevice, m_iHDMIPort, true))
     {
+      SetMenuState(CEC_MENU_STATE_ACTIVATED);
+
       m_controller->AddLog(CEC_LOG_DEBUG, "processor thread started");
       m_busScan = new CCECBusScan(this);
       m_busScan->CreateThread(true);