repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: missing return statement in CCECCommandHandler::InitHandler()
[deb_libcec.git]
/
src
/
lib
/
devices
/
CECBusDevice.cpp
diff --git
a/src/lib/devices/CECBusDevice.cpp
b/src/lib/devices/CECBusDevice.cpp
index 41643a3519263a238d025fe92c6b2adc68750dde..794829ae3ab51ec84e23ed83275ebbde0f5116bd 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-588,7
+588,7
@@
bool CCECBusDevice::SetVendorId(uint64_t iVendorId, bool bInitHandler /* = true
}
}
}
}
- if (bVendorChanged && bInitHandler)
+ if (bVendorChanged && bInitHandler
&& m_handler->GetVendorId() != CEC_VENDOR_UNKNOWN
)
m_handler->InitHandler();
CStdString strLog;
m_handler->InitHandler();
CStdString strLog;
@@
-788,13
+788,13
@@
bool CCECBusDevice::TransmitVendorID(cec_logical_address dest, bool bSendAbort /
}
}
}
}
-bool CCECBusDevice::TransmitKeypress(cec_user_control_code key)
+bool CCECBusDevice::TransmitKeypress(cec_user_control_code key
, bool bWait /* = true */
)
{
{
- return m_handler->TransmitKeypress(m_processor->GetLogicalAddress(), m_iLogicalAddress, key);
+ return m_handler->TransmitKeypress(m_processor->GetLogicalAddress(), m_iLogicalAddress, key
, bWait
);
}
}
-bool CCECBusDevice::TransmitKeyRelease(
void
)
+bool CCECBusDevice::TransmitKeyRelease(
bool bWait /* = true */
)
{
{
- return m_handler->TransmitKeyRelease(m_processor->GetLogicalAddress(), m_iLogicalAddress);
+ return m_handler->TransmitKeyRelease(m_processor->GetLogicalAddress(), m_iLogicalAddress
, bWait
);
}
//@}
}
//@}