repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: fix venodor id change. fix physical address change
[deb_libcec.git]
/
src
/
lib
/
implementations
/
SLCommandHandler.cpp
diff --git
a/src/lib/implementations/SLCommandHandler.cpp
b/src/lib/implementations/SLCommandHandler.cpp
index 32ff88940fb10d0fbd54547979954fde50171ed7..05cbf51fbef05dd0b6b1e066f0caa2023291545e 100644
(file)
--- a/
src/lib/implementations/SLCommandHandler.cpp
+++ b/
src/lib/implementations/SLCommandHandler.cpp
@@
-199,7
+199,8
@@
bool CSLCommandHandler::InitHandler(void)
m_bSLEnabled = true;
CCECBusDevice *primary = m_busDevice->GetProcessor()->m_busDevices[m_busDevice->GetProcessor()->GetLogicalAddresses().primary];
m_bSLEnabled = true;
CCECBusDevice *primary = m_busDevice->GetProcessor()->m_busDevices[m_busDevice->GetProcessor()->GetLogicalAddresses().primary];
- primary->SetVendorId(CEC_VENDOR_LG);
+ if (m_busDevice->GetLogicalAddress() != primary->GetLogicalAddress())
+ primary->SetVendorId(CEC_VENDOR_LG, false);
if (m_busDevice->GetLogicalAddress() == CECDEVICE_TV)
{
if (m_busDevice->GetLogicalAddress() == CECDEVICE_TV)
{