cec: set the initial stream path to PA 0xFFFF instead of 0x0. added some logging
[deb_libcec.git] / src / lib / CECProcessor.cpp
index efe038f1498eb17f433fa0c7f8191673411dc031..94d4c7ad4910fedf95a85967bb835ae2c77dcb7c 100644 (file)
@@ -542,6 +542,10 @@ bool CCECProcessor::SetActiveSource(uint16_t iStreamPath)
     device->SetActiveSource();
     bReturn = true;
   }
+  else
+  {
+    CLibCEC::AddLog(CEC_LOG_DEBUG, "device with PA '%04x' not found", iStreamPath);
+  }
 
   return bReturn;
 }