From: Lars Op den Kamp Date: Fri, 25 Nov 2011 11:45:04 +0000 (+0100) Subject: cec: fixed - don't request the vendor id from devices that are handled by libcec X-Git-Tag: upstream/2.2.0~1^2~44^2~99 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=678e227c17d6d0f015402dd53cc191570158395c;p=deb_libcec.git cec: fixed - don't request the vendor id from devices that are handled by libcec --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index dfd0cc1..17e9fcb 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -269,7 +269,10 @@ void *CCECProcessor::Process(void) m_controller->CheckKeypressTimeout(); for (unsigned int iDevicePtr = 0; iDevicePtr < 16; iDevicePtr++) - m_busDevices[iDevicePtr]->PollVendorId(); + { + if (!m_logicalAddresses[iDevicePtr]) + m_busDevices[iDevicePtr]->PollVendorId(); + } Sleep(5); }