repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1a2ed7
)
fall back to the primary client when CCECProcessor::HandleLogicalAddressLost() and...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 7 Oct 2012 13:10:12 +0000
(15:10 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 7 Oct 2012 13:10:12 +0000
(15:10 +0200)
src/lib/CECProcessor.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index 261f4f5e0f06edbac86a89512a73661c9ff1b30e..54fea57f0cb4e4a7961c7677bff8e601dbdda2e9 100644
(file)
--- a/
src/lib/CECProcessor.cpp
+++ b/
src/lib/CECProcessor.cpp
@@
-933,6
+933,8
@@
void CCECProcessor::HandleLogicalAddressLost(cec_logical_address oldAddress)
m_libcec->AddLog(CEC_LOG_NOTICE, "logical address %x was taken by another device, allocating a new address", oldAddress);
CCECClient* client = GetClient(oldAddress);
+ if (!client)
+ client = GetPrimaryClient();
if (client)
{
if (m_addrAllocator)