X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FSLCommandHandler.cpp;h=05cbf51fbef05dd0b6b1e066f0caa2023291545e;hb=d211708bee728fa319db6b108196bcda85c2fdeb;hp=32ff88940fb10d0fbd54547979954fde50171ed7;hpb=37acf382b4a151ba018ecd3558fdd5b8cc585077;p=deb_libcec.git diff --git a/src/lib/implementations/SLCommandHandler.cpp b/src/lib/implementations/SLCommandHandler.cpp index 32ff889..05cbf51 100644 --- 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]; - primary->SetVendorId(CEC_VENDOR_LG); + if (m_busDevice->GetLogicalAddress() != primary->GetLogicalAddress()) + primary->SetVendorId(CEC_VENDOR_LG, false); if (m_busDevice->GetLogicalAddress() == CECDEVICE_TV) {