cec: also send deck status 0x20 when no active source message has been sent, or keypr...
authorLars Op den Kamp <lars@opdenkamp.eu>
Sun, 19 Feb 2012 01:29:02 +0000 (02:29 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sun, 19 Feb 2012 01:29:02 +0000 (02:29 +0100)
src/lib/implementations/SLCommandHandler.cpp

index 6752c926572648aa1b8653b352e0edd477312582..692a5fd824b51f722e1f89b728660bfa65c8eb9b 100644 (file)
@@ -278,7 +278,7 @@ bool CSLCommandHandler::HandleGiveDeckStatus(const cec_command &command)
     {
       if (command.parameters.size > 0)
       {
-        ((CCECPlaybackDevice *) device)->SetDeckStatus(!device->IsActiveSource() || !ActiveSourceSent() ? CEC_DECK_INFO_OTHER_STATUS : CEC_DECK_INFO_OTHER_STATUS_LG);
+        ((CCECPlaybackDevice *) device)->SetDeckStatus(!device->IsActiveSource() ? CEC_DECK_INFO_OTHER_STATUS : CEC_DECK_INFO_OTHER_STATUS_LG);
         if (command.parameters[0] == CEC_STATUS_REQUEST_ON)
         {
           bool bReturn = ((CCECPlaybackDevice *) device)->TransmitDeckStatus(command.initiator);