cec: set the server version in the LibCEC's constructor, since this is checked by...
authorLars Op den Kamp <lars@opdenkamp.eu>
Mon, 27 Feb 2012 19:09:24 +0000 (20:09 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Mon, 27 Feb 2012 19:09:24 +0000 (20:09 +0100)
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)