X-Git-Url: https://git.piment-noir.org/?p=deb_libcec.git;a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FVLCommandHandler.cpp;h=0e74a06cd052b35b2af409571947e0c2e4da74bc;hp=790e25b8aa2f6533d8ef508d16f5f3b126031ba4;hb=1db788cb36e0549150ac61c34db3bdd190f33e93;hpb=a085beac0abf9062aead6ad9114500432c68a829 diff --git a/src/lib/implementations/VLCommandHandler.cpp b/src/lib/implementations/VLCommandHandler.cpp index 790e25b..0e74a06 100644 --- a/src/lib/implementations/VLCommandHandler.cpp +++ b/src/lib/implementations/VLCommandHandler.cpp @@ -258,6 +258,10 @@ int CVLCommandHandler::HandleVendorCommand(const cec_command &command) // XXX i've seen 0x05 and 0x03 as third param. these probably indicate different types of TVs/capabilities // when we feature abort this, then the TV will try the same thing with a vendor command with id SendVendorCommandCapabilities(m_processor->GetLogicalAddress(), command.initiator); + + CCECBusDevice* dev = m_processor->GetDevice(command.destination); + if (dev && dev->IsActiveSource()) + dev->ActivateSource(500); return COMMAND_HANDLED; }