fixed - incorrect active source marking after 88d5d47fe5b37b8fab796e0ec563176bf05b3801
[deb_libcec.git] / src / lib / implementations / CECCommandHandler.cpp
index 89b5b7e8ae9b0ca68c2c77690e8165730dd89851..2859d5aaddc74dccff69528b2be31ac2a3fb6856 100644 (file)
@@ -583,13 +583,6 @@ int CCECCommandHandler::HandleSetStreamPath(const cec_command &command)
         device->MarkAsActiveSource();
       return COMMAND_HANDLED;
     }
-    else
-    {
-      cec_logical_address previousSource = m_processor->GetActiveSource(false);
-      CCECBusDevice* device = m_processor->GetDevice(previousSource);
-      if (device && device->GetCurrentPhysicalAddress() != iStreamAddress)
-        device->MarkAsInactiveSource();
-    }
   }
 
   return CEC_ABORT_REASON_INVALID_OPERAND;