repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
179efe8
)
cec: fixec - don't deadlock when a command wasn't sent
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 30 Oct 2011 16:42:08 +0000
(17:42 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 30 Oct 2011 16:42:08 +0000
(17:42 +0100)
src/lib/CECProcessor.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index 4036fbe81b6f37bac88d48f59a89df5960052f08..e3f75173f7ca619e184582e11bb6f9fe0792d3c2 100644
(file)
--- a/
src/lib/CECProcessor.cpp
+++ b/
src/lib/CECProcessor.cpp
@@
-258,7
+258,7
@@
bool CCECProcessor::Transmit(const cec_command &data)
return bReturn;
else
{
- output->condition.Wait(&output->mutex);
+ output->condition.Wait(&output->mutex
, 1000
);
if (output->state != ADAPTER_MESSAGE_STATE_SENT)
{
m_controller->AddLog(CEC_LOG_ERROR, "command was not sent");