repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[FreeBSD] find cec devices with sysctl on dev.umodem tree
[deb_libcec.git]
/
src
/
lib
/
adapter
/
Pulse-Eight
/
USBCECAdapterMessageQueue.cpp
diff --git
a/src/lib/adapter/Pulse-Eight/USBCECAdapterMessageQueue.cpp
b/src/lib/adapter/Pulse-Eight/USBCECAdapterMessageQueue.cpp
index 9fca017c05020f3366afc69599257e72716464bc..880ad1c6438964ae9a825369be76114304e8da0c 100644
(file)
--- a/
src/lib/adapter/Pulse-Eight/USBCECAdapterMessageQueue.cpp
+++ b/
src/lib/adapter/Pulse-Eight/USBCECAdapterMessageQueue.cpp
@@
-1,7
+1,7
@@
/*
* This file is part of the libCEC(R) library.
*
/*
* This file is part of the libCEC(R) library.
*
- * libCEC(R) is Copyright (C) 2011-201
2
Pulse-Eight Limited. All rights reserved.
+ * libCEC(R) is Copyright (C) 2011-201
3
Pulse-Eight Limited. All rights reserved.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
@@
-164,14
+164,12
@@
bool CCECAdapterMessageQueueEntry::IsResponse(const CCECAdapterMessage &msg)
thisMsgCode == MSGCODE_SET_HDMI_VERSION ||
thisMsgCode == MSGCODE_SET_OSD_NAME ||
thisMsgCode == MSGCODE_WRITE_EEPROM ||
thisMsgCode == MSGCODE_SET_HDMI_VERSION ||
thisMsgCode == MSGCODE_SET_OSD_NAME ||
thisMsgCode == MSGCODE_WRITE_EEPROM ||
- thisMsgCode == MSGCODE_TRANSMIT_IDLETIME)
+ thisMsgCode == MSGCODE_TRANSMIT_IDLETIME ||
+ thisMsgCode == MSGCODE_SET_ACTIVE_SOURCE)
return thisMsgCode == msgResponse;
if (!m_message->IsTranmission())
return thisMsgCode == msgResponse;
if (!m_message->IsTranmission())
- {
- m_queue->m_com->m_callback->GetLib()->AddLog(CEC_LOG_WARNING, "FIXME! not a transmission: %s", msg.ToString().c_str());
return false;
return false;
- }
return ((msgCode == MSGCODE_COMMAND_ACCEPTED || msgCode == MSGCODE_COMMAND_REJECTED) &&
(msgResponse == MSGCODE_TRANSMIT_ACK_POLARITY || msgResponse == MSGCODE_TRANSMIT || msgResponse == MSGCODE_TRANSMIT_EOM)) ||
return ((msgCode == MSGCODE_COMMAND_ACCEPTED || msgCode == MSGCODE_COMMAND_REJECTED) &&
(msgResponse == MSGCODE_TRANSMIT_ACK_POLARITY || msgResponse == MSGCODE_TRANSMIT || msgResponse == MSGCODE_TRANSMIT_EOM)) ||