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:
ada3007
)
cec: fixed CCECProcessor::IsActiveSource() - TV was never checked
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 26 Apr 2012 12:13:05 +0000
(14:13 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 26 Apr 2012 12:13:05 +0000
(14:13 +0200)
src/lib/CECProcessor.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index a1603e8243a26b92cbed4d2080639eaa044fdf28..2f7fcaceaa102dcedc39902e468b63cd7979adb2 100644
(file)
--- a/
src/lib/CECProcessor.cpp
+++ b/
src/lib/CECProcessor.cpp
@@
-933,7
+933,7
@@
cec_logical_address CCECProcessor::GetActiveSource(bool bRequestActiveSource /*
bool CCECProcessor::IsActiveSource(cec_logical_address iAddress)
{
- return iAddress > CECDEVICE_TV && iAddress < CECDEVICE_BROADCAST ?
+ return iAddress >
=
CECDEVICE_TV && iAddress < CECDEVICE_BROADCAST ?
m_busDevices[iAddress]->IsActiveSource() :
false;
}