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:
b9dd18f
)
cec: don't just set the server version, but get the full configuration in CECInitialise()
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 26 Apr 2012 15:40:19 +0000
(17:40 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 26 Apr 2012 15:40:19 +0000
(17:40 +0200)
src/lib/LibCEC.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/LibCEC.cpp
b/src/lib/LibCEC.cpp
index 46decfb866aa8315d66778a531ddbbb30a6c5709..88e93e0dcd07a2d3ae2c366c46d068219b8faa54 100644
(file)
--- a/
src/lib/LibCEC.cpp
+++ b/
src/lib/LibCEC.cpp
@@
-540,7
+540,7
@@
void * CECInitialise(libcec_configuration *configuration)
{
CLibCEC *lib = new CLibCEC(configuration);
CLibCEC::SetInstance(lib);
-
configuration->serverVersion = LIBCEC_VERSION_CURRENT
;
+
lib->GetCurrentConfiguration(configuration)
;
return static_cast< void* > (lib);
}