cec: replace the handler directly after getting the vendor id of a device when regist...
[deb_libcec.git] / src / lib / CECClient.cpp
index d91ae2aa4c4ca204c636cf7418cbf545c87a1d10..e4033604aaa91593ee60e48882f3f503a9fdd31b 100644 (file)
@@ -53,6 +53,7 @@ CCECClient::CCECClient(CCECProcessor *processor, const libcec_configuration &con
     m_buttontime(0),
     m_iPreventForwardingPowerOffCommand(0)
 {
+  m_configuration.Clear();
   // set the initial configuration
   SetConfiguration(configuration);
 }
@@ -138,7 +139,7 @@ bool CCECClient::SetHDMIPort(const cec_logical_address iBaseDevice, const uint8_
       iPort > CEC_MAX_HDMI_PORTNUMBER)
     return bReturn;
 
-  LIB_CEC->AddLog(CEC_LOG_DEBUG, "setting HDMI port to %d on device %s (%d)", iPort, ToString(iBaseDevice), (int)iBaseDevice);
+  LIB_CEC->AddLog(CEC_LOG_NOTICE, "setting HDMI port to %d on device %s (%d)", iPort, ToString(iBaseDevice), (int)iBaseDevice);
 
   // update the configuration
   {