From: Lars Op den Kamp Date: Thu, 26 Apr 2012 15:40:19 +0000 (+0200) Subject: cec: don't just set the server version, but get the full configuration in CECInitialise() X-Git-Tag: upstream/2.2.0~1^2~29^2^2~13 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=51096691703bf2ff9d51226d0105148a2d57b472;p=deb_libcec.git cec: don't just set the server version, but get the full configuration in CECInitialise() --- diff --git a/src/lib/LibCEC.cpp b/src/lib/LibCEC.cpp index 46decfb..88e93e0 100644 --- 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); }