also transmit an active source message as response to a set stream path command when...
[deb_libcec.git] / 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;
     }
   }