cec: set the server version in the LibCEC's constructor, since this is checked by...
[deb_libcec.git] / src / lib / LibCEC.cpp
index 93a50198a3bcac9331b72a0014d61df1dc3db4a4..a289b75c47fe9bda4b0cfc051c85b74a4fd88364 100644 (file)
@@ -60,6 +60,7 @@ CLibCEC::CLibCEC(libcec_configuration *configuration) :
     m_cbParam(configuration->callbackParam)
 {
   m_cec = new CCECProcessor(this, configuration);
+  configuration->serverVersion = CEC_SERVER_VERSION_1_5_0;
 }
 
 CLibCEC::~CLibCEC(void)