From: Lars Op den Kamp Date: Sat, 11 Feb 2012 21:24:28 +0000 (+0100) Subject: cec: lg expects the device type on 89:05. set deck status 0x20 only for recorders X-Git-Tag: upstream/2.2.0~1^2~35^2~94 X-Git-Url: https://git.piment-noir.org/?p=deb_libcec.git;a=commitdiff_plain;h=199034ab9274a19316150586306e39fa26bbb73c cec: lg expects the device type on 89:05. set deck status 0x20 only for recorders --- diff --git a/src/lib/implementations/SLCommandHandler.cpp b/src/lib/implementations/SLCommandHandler.cpp index 125a23e..2475e14 100644 --- a/src/lib/implementations/SLCommandHandler.cpp +++ b/src/lib/implementations/SLCommandHandler.cpp @@ -228,7 +228,7 @@ void CSLCommandHandler::TransmitVendorCommand05(const cec_logical_address iSourc cec_command response; cec_command::Format(response, iSource, iDestination, CEC_OPCODE_VENDOR_COMMAND); response.PushBack(SL_COMMAND_CONNECT_ACCEPT); - response.PushBack((uint8_t)iSource); + response.PushBack((uint8_t)m_processor->m_busDevices[iSource]->GetType()); Transmit(response, false); }