don't send two active source message sequences to philips. issue #118
authorLars Op den Kamp <lars@opdenkamp.eu>
Tue, 22 Jan 2013 01:13:37 +0000 (02:13 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Tue, 22 Jan 2013 01:13:37 +0000 (02:13 +0100)
src/lib/implementations/PHCommandHandler.cpp

index bed6b1e80adfe6524024a5151b5743221b6a19d5..7b7e3d6bfe2f0cfaad898bcaea6eabbda0130930 100644 (file)
@@ -122,7 +122,7 @@ bool CPHCommandHandler::ActivateSource(bool bTransmitDelayedCommandsOnly /* = fa
   {
     // tv sometimes ignores image view on. check the power status of the tv in 5 seconds, and retry when it failed to power up
     if (m_imageViewOnCheck && !m_imageViewOnCheck->IsRunning())
-      m_imageViewOnCheck->CreateThread(false);
+      return m_imageViewOnCheck->CreateThread(false);
   }
 
   return CCECCommandHandler::ActivateSource(bTransmitDelayedCommandsOnly);