also transmit an active source message as response to a set stream path command when...
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 6 Dec 2013 11:10:18 +0000 (12:10 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 6 Dec 2013 11:11:42 +0000 (12:11 +0100)
src/lib/implementations/CECCommandHandler.cpp

index 12e74e3e31bfded1ffe5406d46c806b43a607739..cee3c85add8ad84c5c265653d02afebea90108af 100644 (file)
@@ -580,7 +580,10 @@ int CCECCommandHandler::HandleSetStreamPath(const cec_command &command)
       if (device->IsHandledByLibCEC() && !device->IsActiveSource())
         device->ActivateSource();
       else
+      {
         device->MarkAsActiveSource();
+        device->TransmitActiveSource(true);
+      }
       return COMMAND_HANDLED;
     }
   }