cec: fixed - mark a device as active source before transmitting the active source...
[deb_libcec.git] / src / lib / implementations / SLCommandHandler.cpp
index c23099eb0d2c408ba0ef6f37f7fccdef7055dcae..0f007176d623f9e83732abbef114790b97446d28 100644 (file)
@@ -145,8 +145,8 @@ void CSLCommandHandler::HandleVendorCommandPowerOn(const cec_command &command)
 void CSLCommandHandler::HandleVendorCommandSLConnect(const cec_command &command)
 {
   m_bSLEnabled = true;
+  m_processor->m_busDevices[command.initiator]->SetActiveSource();
   m_processor->m_busDevices[command.destination]->TransmitActiveSource();
-  m_processor->SetStreamPath(m_processor->m_busDevices[command.destination]->GetPhysicalAddress(false));
   TransmitVendorCommand05(command.destination, command.initiator);
   TransmitDeckStatus(command.initiator);
 }