From 700c1ea7da4dee67289b704313ae26c92ec4a39c Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Sun, 6 Nov 2011 12:36:16 +0100 Subject: [PATCH] cec: send the correct cec version for each device --- src/lib/devices/CECBusDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/devices/CECBusDevice.cpp b/src/lib/devices/CECBusDevice.cpp index 07675cd..a458059 100644 --- a/src/lib/devices/CECBusDevice.cpp +++ b/src/lib/devices/CECBusDevice.cpp @@ -46,7 +46,7 @@ CCECBusDevice::CCECBusDevice(CCECProcessor *processor, cec_logical_address iLogi m_processor(processor), m_iVendorClass(CEC_VENDOR_UNKNOWN), m_iLastActive(0), - m_cecVersion(CEC_VERSION_UNKNOWN) + m_cecVersion(CEC_VERSION_1_3A) { m_handler = new CCECCommandHandler(this); @@ -284,7 +284,7 @@ bool CCECBusDevice::ReportCECVersion(cec_logical_address dest) cec_command command; cec_command::format(command, m_iLogicalAddress, dest, CEC_OPCODE_CEC_VERSION); - command.parameters.push_back(CEC_VERSION_1_3A); + command.parameters.push_back(m_cecVersion); return m_processor->Transmit(command); } -- 2.34.1