repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cec: fix background polling and libcec exit
[deb_libcec.git]
/
src
/
lib
/
implementations
/
ANCommandHandler.cpp
diff --git
a/src/lib/implementations/ANCommandHandler.cpp
b/src/lib/implementations/ANCommandHandler.cpp
index 3da959eb5939f61c2e1189cddac4abbe1d297bfc..e9674baafb22f84ca8f575d46e407884156cf8a4 100644
(file)
--- a/
src/lib/implementations/ANCommandHandler.cpp
+++ b/
src/lib/implementations/ANCommandHandler.cpp
@@
-44,7
+44,7
@@
CANCommandHandler::CANCommandHandler(CCECBusDevice *busDevice) :
bool CANCommandHandler::HandleVendorRemoteButtonDown(const cec_command &command)
{
- if (command.parameters.size > 0)
+ if (
m_processor->IsStarted() &&
command.parameters.size > 0)
{
cec_keypress key;
key.duration = CEC_BUTTON_TIMEOUT;