From: Lars Op den Kamp Date: Mon, 27 Feb 2012 19:09:24 +0000 (+0100) Subject: cec: set the server version in the LibCEC's constructor, since this is checked by... X-Git-Tag: upstream/2.2.0~1^2~33^2~19 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4e3a73cce6049a552100f1878de3b31f91f63925;p=deb_libcec.git cec: set the server version in the LibCEC's constructor, since this is checked by clients. fixes 'invalid libCEC version' popup when inserting the adapter --- diff --git a/src/lib/LibCEC.cpp b/src/lib/LibCEC.cpp index 93a5019..a289b75 100644 --- a/src/lib/LibCEC.cpp +++ b/src/lib/LibCEC.cpp @@ -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)