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:
5a1e87c
)
cec: process buffered messages too
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 30 Oct 2011 00:03:34 +0000
(
02:03
+0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 30 Oct 2011 00:03:34 +0000
(
02:03
+0200)
src/lib/CECProcessor.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index 73cae64b04ca0ba139b4b89a5ec40711a0f663a3..18e0e6128e2ec1bcbc84e6a23802ad5ccefb9f56 100644
(file)
--- a/
src/lib/CECProcessor.cpp
+++ b/
src/lib/CECProcessor.cpp
@@
-98,7
+98,8
@@
void *CCECProcessor::Process(void)
{
CLockObject lock(&m_mutex);
- if (m_communication->IsOpen() && m_communication->Read(msg, 50))
+ if (m_frameBuffer.Pop(msg) ||
+ (m_communication->IsOpen() && m_communication->Read(msg, 50)))
bParseFrame = ParseMessage(msg);
bParseFrame &= !IsStopped();