From: Lars Op den Kamp Date: Tue, 20 Dec 2011 20:08:38 +0000 (+0100) Subject: cec: send a 'menu state activated' command when starting up. bugzid: 113 X-Git-Tag: upstream/2.2.0~1^2~43^2~37 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e8a3a37b444db18ccac66c318e4cc5e6fe6588e4;p=deb_libcec.git cec: send a 'menu state activated' command when starting up. bugzid: 113 --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 726f316..8cc290c 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -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);