From: Lars Op den Kamp Date: Thu, 13 Oct 2011 23:38:29 +0000 (+0200) Subject: cec: add the device type as parameter when sending the physical address. thanks bobo1on1 X-Git-Tag: upstream/2.2.0~1^2~238 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4a75b661e3c3b1f6c15f81b5d7dd277db30ed94e;p=deb_libcec.git cec: add the device type as parameter when sending the physical address. thanks bobo1on1 --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 6166032..f9872fc 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -320,6 +320,7 @@ void CCECProcessor::ReportPhysicalAddress(void) cec_command::format(command, m_iLogicalAddress, CECDEVICE_BROADCAST, CEC_OPCODE_REPORT_PHYSICAL_ADDRESS); command.parameters.push_back((uint8_t) ((m_physicaladdress >> 8) & 0xFF)); command.parameters.push_back((uint8_t) (m_physicaladdress & 0xFF)); + command.parameters.push_back((uint8_t) (CEC_DEVICE_TYPE_PLAYBACK_DEVICE)); Transmit(command); }