X-Git-Url: https://git.piment-noir.org/?p=deb_libcec.git;a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FCECCommandHandler.cpp;h=2859d5aaddc74dccff69528b2be31ac2a3fb6856;hp=89b5b7e8ae9b0ca68c2c77690e8165730dd89851;hb=9924d0b1ca93ede1658cf628a39ae35c075b59f6;hpb=e81699ac25f4ca8295be3202a54e70a920ef813a diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp index 89b5b7e..2859d5a 100644 --- a/src/lib/implementations/CECCommandHandler.cpp +++ b/src/lib/implementations/CECCommandHandler.cpp @@ -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;