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:
44a1d92
)
cec: don't send an updated configuration when libCEC hasn't been initialised fully...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Mon, 27 Feb 2012 13:15:26 +0000
(14:15 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Mon, 27 Feb 2012 13:15:26 +0000
(14:15 +0100)
src/lib/LibCEC.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/LibCEC.cpp
b/src/lib/LibCEC.cpp
index b8537717fac29f72038e939b363af0c2ed49af56..f09843ff87090da4ff04b8d6ff4befe234f16d43 100644
(file)
--- a/
src/lib/LibCEC.cpp
+++ b/
src/lib/LibCEC.cpp
@@
-387,7
+387,8
@@
void CLibCEC::ConfigurationChanged(const libcec_configuration &config)
if (instance->m_callbacks &&
config.clientVersion >= CEC_CLIENT_VERSION_1_5_0 &&
- instance->m_callbacks->CBCecConfigurationChanged != NULL)
+ instance->m_callbacks->CBCecConfigurationChanged != NULL &&
+ instance->m_cec->IsInitialised())
instance->m_callbacks->CBCecConfigurationChanged(instance->m_cbParam, config);
}