repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: unload libCEC when the lib version is invalid
[deb_libcec.git]
/
src
/
lib
/
LibCEC.cpp
diff --git
a/src/lib/LibCEC.cpp
b/src/lib/LibCEC.cpp
index a1e538380861aae455118a38d4f70f9c052fc66b..1366ff6cbcec92b6567ab0648e8a32cdeac3f87a 100644
(file)
--- a/
src/lib/LibCEC.cpp
+++ b/
src/lib/LibCEC.cpp
@@
-300,17
+300,17
@@
uint8_t CLibCEC::MuteAudio(bool bSendRelease /* = true */)
return 0;
}
return 0;
}
-bool CLibCEC::SendKeypress(cec_logical_address iDestination, cec_user_control_code key, bool bWait /* =
fals
e */)
+bool CLibCEC::SendKeypress(cec_logical_address iDestination, cec_user_control_code key, bool bWait /* =
tru
e */)
{
if (m_cec)
{
if (m_cec)
- return m_cec->TransmitKeypress(iDestination, key);
+ return m_cec->TransmitKeypress(iDestination, key
, bWait
);
return false;
}
return false;
}
-bool CLibCEC::SendKeyRelease(cec_logical_address iDestination, bool bWait /* =
fals
e */)
+bool CLibCEC::SendKeyRelease(cec_logical_address iDestination, bool bWait /* =
tru
e */)
{
if (m_cec)
{
if (m_cec)
- return m_cec->TransmitKeyRelease(iDestination);
+ return m_cec->TransmitKeyRelease(iDestination
, bWait
);
return false;
}
return false;
}