Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/libcec/implementations/CECCommandHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,14 @@ int CCECCommandHandler::HandleSetStreamPath(const cec_command &command)
}
return COMMAND_HANDLED;
}
else
{
// mark all devices as inactive sources
CECDEVICEVEC devices;
m_processor->GetDevices()->Get(devices);
for (CECDEVICEVEC::iterator it = devices.begin(); it != devices.end(); it++)
(*it)->MarkAsInactiveSource();
}
}

return CEC_ABORT_REASON_INVALID_OPERAND;
Expand Down