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:
7f4914c
)
always call the SourceActivated() callback in CCECBusDevice::MarkAsActiveSource(...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 12 Dec 2013 02:38:03 +0000
(
03:38
+0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 12 Dec 2013 02:38:13 +0000
(
03:38
+0100)
src/lib/devices/CECBusDevice.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/devices/CECBusDevice.cpp
b/src/lib/devices/CECBusDevice.cpp
index 7c563ca0ce4ab6e742aa62e1ea0e734058c0d054..489ded2cec4f441d379922e76f5be7459795c452 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-1082,14
+1082,12
@@
void CCECBusDevice::MarkAsActiveSource(void)
if ((*it)->GetLogicalAddress() != m_iLogicalAddress)
(*it)->MarkAsInactiveSource();
if ((*it)->GetLogicalAddress() != m_iLogicalAddress)
(*it)->MarkAsInactiveSource();
- if (bWasActivated)
- {
- if (IsHandledByLibCEC())
- m_processor->SetActiveSource(true, false);
- CCECClient *client = GetClient();
- if (client)
- client->SourceActivated(m_iLogicalAddress);
- }
+ if (bWasActivated && IsHandledByLibCEC())
+ m_processor->SetActiveSource(true, false);
+
+ CCECClient *client = GetClient();
+ if (client)
+ client->SourceActivated(m_iLogicalAddress);
}
void CCECBusDevice::MarkAsInactiveSource(bool bClientUnregistered /* = false */)
}
void CCECBusDevice::MarkAsInactiveSource(bool bClientUnregistered /* = false */)