repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed windows compilation after b3972c3eb3de18cc9380b1419a923557ce4e96dc
[deb_libcec.git]
/
src
/
lib
/
implementations
/
VLCommandHandler.cpp
diff --git
a/src/lib/implementations/VLCommandHandler.cpp
b/src/lib/implementations/VLCommandHandler.cpp
index e74daac4d463f23fe8cc5143fef93d2420e2a5a2..072d71182ec2c92ca7c780ab68b41ecb0330c249 100644
(file)
--- a/
src/lib/implementations/VLCommandHandler.cpp
+++ b/
src/lib/implementations/VLCommandHandler.cpp
@@
-128,6
+128,10
@@
int CVLCommandHandler::HandleDeviceVendorCommandWithId(const cec_command &comman
// send capabilties
SendVendorCommandCapabilities(m_processor->GetLogicalAddress(), command.initiator);
// send capabilties
SendVendorCommandCapabilities(m_processor->GetLogicalAddress(), command.initiator);
+
+ // reactivate the source, so the tv switches channels
+ if (m_processor->IsActiveSource(m_processor->GetLogicalAddress()))
+ m_processor->GetDevice(m_processor->GetLogicalAddress())->TransmitActiveSource(false);
}
else if (command.parameters.At(4) == VL_POWERED_DOWN)
{
}
else if (command.parameters.At(4) == VL_POWERED_DOWN)
{