repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: don't send 'image view on' when calling SetActiveSource()
[deb_libcec.git]
/
src
/
lib
/
CECProcessor.cpp
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index 230f2ab0388f4e937b97a27f10a33f92991ee16b..5a70d242553957ed20ee6059b2b33eb95fd01ca8 100644
(file)
--- a/
src/lib/CECProcessor.cpp
+++ b/
src/lib/CECProcessor.cpp
@@
-211,7
+211,6
@@
bool CCECProcessor::Initialise(void)
/* get the vendor id from the TV, so we are using the correct handler */
m_busDevices[CECDEVICE_TV]->RequestVendorId();
/* get the vendor id from the TV, so we are using the correct handler */
m_busDevices[CECDEVICE_TV]->RequestVendorId();
- ReplaceHandlers();
if (m_iPhysicalAddress != 0)
{
if (m_iPhysicalAddress != 0)
{
@@
-406,7
+405,6
@@
bool CCECProcessor::FindLogicalAddresses(void)
void CCECProcessor::ReplaceHandlers(void)
{
void CCECProcessor::ReplaceHandlers(void)
{
- CLockObject lock(m_mutex);
if (!IsInitialised())
return;
for (uint8_t iPtr = 0; iPtr <= CECDEVICE_PLAYBACKDEVICE3; iPtr++)
if (!IsInitialised())
return;
for (uint8_t iPtr = 0; iPtr <= CECDEVICE_PLAYBACKDEVICE3; iPtr++)
@@
-461,8
+459,7
@@
bool CCECProcessor::SetActiveSource(cec_device_type type /* = CEC_DEVICE_TYPE_RE
m_busDevices[addr]->SetActiveSource();
if (m_busDevices[addr]->GetPhysicalAddress(false) != 0xFFFF)
{
m_busDevices[addr]->SetActiveSource();
if (m_busDevices[addr]->GetPhysicalAddress(false) != 0xFFFF)
{
- bReturn = m_busDevices[addr]->TransmitImageViewOn() &&
- m_busDevices[addr]->TransmitActiveSource();
+ bReturn = m_busDevices[addr]->TransmitActiveSource();
if (bReturn)
{
if (bReturn)
{