repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cec: only send unhandled and selected commands to the command buffer
[deb_libcec.git]
/
src
/
lib
/
devices
/
CECBusDevice.cpp
diff --git
a/src/lib/devices/CECBusDevice.cpp
b/src/lib/devices/CECBusDevice.cpp
index 7faa5fb6a10252da1b43e2f6284352b91f7e7673..0678ce393ef8dfe3a1825e8904940af6a9de6b12 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-212,7
+212,8
@@
void CCECBusDevice::PollVendorId(void)
cec_command command;
cec_command::format(command, GetMyLogicalAddress(), GetLogicalAddress(), CEC_OPCODE_GIVE_DEVICE_VENDOR_ID);
- m_processor->Transmit(command);
+ if (m_processor->Transmit(command))
+ m_condition.Wait(&m_mutex, 1000);
}
}