From b022c181c03778c12291548e9726a7a18d3e5753 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Fri, 9 Dec 2011 12:14:54 +0100 Subject: [PATCH] cec: fixed - don't change the active device when the stream path changed. --- src/lib/implementations/CECCommandHandler.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp index c7b0305..57233fd 100644 --- a/src/lib/implementations/CECCommandHandler.cpp +++ b/src/lib/implementations/CECCommandHandler.cpp @@ -463,14 +463,6 @@ bool CCECCommandHandler::HandleSetStreamPath(const cec_command &command) CStdString strLog; strLog.Format(">> %i sets stream path to physical address %04x", command.initiator, iStreamAddress); m_busDevice->AddLog(CEC_LOG_DEBUG, strLog.c_str()); - - CCECBusDevice *device = GetDeviceByPhysicalAddress(iStreamAddress); - if (device) - { - device->SetActiveSource(); - return device->TransmitActiveSource() && - device->TransmitMenuState(command.initiator); - } } return false; } -- 2.34.1