cec: fixed - don't request the vendor id from devices that are handled by libcec
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 25 Nov 2011 11:45:04 +0000 (12:45 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 25 Nov 2011 11:45:04 +0000 (12:45 +0100)
src/lib/CECProcessor.cpp

index dfd0cc1cb1b64a4bdd9e330aba2453a2ee597fa1..17e9fcbd1ceaa30fd831b1c4d4370b5bb2e6f318 100644 (file)
@@ -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);
   }