projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f75a1af
)
[cec] fixed - only send an active source message when receiving OnPlay. this may...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 22 Jan 2013 10:57:15 +0000
(11:57 +0100)
committer
S. Davilla
<davilla@4pi.com>
Tue, 22 Jan 2013 14:49:39 +0000
(09:49 -0500)
xbmc/peripherals/devices/PeripheralCecAdapter.cpp
patch
|
blob
|
history
diff --git
a/xbmc/peripherals/devices/PeripheralCecAdapter.cpp
b/xbmc/peripherals/devices/PeripheralCecAdapter.cpp
index
243a629
..
e578dc3
100644
(file)
--- a/
xbmc/peripherals/devices/PeripheralCecAdapter.cpp
+++ b/
xbmc/peripherals/devices/PeripheralCecAdapter.cpp
@@
-216,6
+216,7
@@
void CPeripheralCecAdapter::Announce(AnnouncementFlag flag, const char *sender,
CSingleLock lock(m_critSection);
bActivateSource = (m_configuration.bActivateSource &&
!m_bOnPlayReceived &&
+ !m_cecAdapter->IsLibCECActiveSource() &&
(!m_preventActivateSourceOnPlay.IsValid() || CDateTime::GetCurrentDateTime() - m_preventActivateSourceOnPlay > CDateTimeSpan(0, 0, 0, CEC_SUPPRESS_ACTIVATE_SOURCE_AFTER_ON_STOP)));
m_bOnPlayReceived = true;
}