From: Lars Op den Kamp Date: Fri, 6 Dec 2013 10:04:42 +0000 (+0100) Subject: respond to vendor command 89:10:01:03 for panasonic and send the same response as... X-Git-Tag: upstream/2.2.0~1^2~3^2~33 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=218f72df99cc28f0bb446a078823d6fe356a8c2c;p=deb_libcec.git respond to vendor command 89:10:01:03 for panasonic and send the same response as for 89:10:01:05. bugzid: 2604 --- diff --git a/src/lib/implementations/VLCommandHandler.cpp b/src/lib/implementations/VLCommandHandler.cpp index 5f014f0..329eab2 100644 --- a/src/lib/implementations/VLCommandHandler.cpp +++ b/src/lib/implementations/VLCommandHandler.cpp @@ -249,9 +249,10 @@ int CVLCommandHandler::HandleVendorCommand(const cec_command &command) if (command.parameters.size == 3 && command.parameters[0] == 0x10 && command.parameters[1] == 0x01 && - command.parameters[2] == 0x05 && m_processor->IsHandledByLibCEC(command.destination)) { + // 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); return COMMAND_HANDLED; }