repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
platform: fix win32 compilation error
[deb_libcec.git]
/
src
/
lib
/
implementations
/
ANCommandHandler.cpp
diff --git
a/src/lib/implementations/ANCommandHandler.cpp
b/src/lib/implementations/ANCommandHandler.cpp
index 2a4dc0d064dece6f48aecbe5986e0bbe143ef383..7c2d05906d7b4a33550edb0eb55cbfcdd129268f 100644
(file)
--- a/
src/lib/implementations/ANCommandHandler.cpp
+++ b/
src/lib/implementations/ANCommandHandler.cpp
@@
-50,7
+50,7
@@
CANCommandHandler::CANCommandHandler(CCECBusDevice *busDevice) :
bool CANCommandHandler::HandleVendorRemoteButtonDown(const cec_command &command)
{
bool CANCommandHandler::HandleVendorRemoteButtonDown(const cec_command &command)
{
- if (m_processor->
IsRunning
() && command.parameters.size > 0)
+ if (m_processor->
CECInitialised
() && command.parameters.size > 0)
{
CCECClient *client = m_processor->GetClient(command.destination);
{
CCECClient *client = m_processor->GetClient(command.destination);
@@
-61,7
+61,7
@@
bool CANCommandHandler::HandleVendorRemoteButtonDown(const cec_command &command)
switch (command.parameters[0])
{
case CEC_USER_CONTROL_CODE_AN_RETURN:
switch (command.parameters[0])
{
case CEC_USER_CONTROL_CODE_AN_RETURN:
- key.keycode = client && client->GetC
onfiguration()->clientVersion
>= CEC_CLIENT_VERSION_1_5_0 ?
+ key.keycode = client && client->GetC
lientVersion()
>= CEC_CLIENT_VERSION_1_5_0 ?
CEC_USER_CONTROL_CODE_AN_RETURN :
CEC_USER_CONTROL_CODE_EXIT;
break;
CEC_USER_CONTROL_CODE_AN_RETURN :
CEC_USER_CONTROL_CODE_EXIT;
break;