X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftestclient%2Fmain.cpp;h=69309bc7dfc078592691e4b99acb035dcca1097a;hb=3b2bd169c03f74ccca35d9e211bbbc1308c33675;hp=2e7fee43c4f5beacc92500958d6f6c2c1183d855;hpb=dba49757e9b72248de0c0ccd56eadb582d5d1c5d;p=deb_libcec.git diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index 2e7fee4..69309bc 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -180,6 +180,7 @@ void EnableCallbacks(ICECAdapter *adapter) g_callbacks.CBCecLogMessage = &CecLogMessage; g_callbacks.CBCecKeyPress = &CecKeyPress; g_callbacks.CBCecCommand = &CecCommand; + g_callbacks.CBCecConfigurationChanged = NULL; adapter->EnableCallbacks(NULL, &g_callbacks); } @@ -1057,7 +1058,7 @@ int main (int argc, char *argv[]) if (!g_bSingleCommand) { CStdString strLog; - strLog.Format("CEC Parser created - libcec version %d.%d", parser->GetLibVersionMajor(), parser->GetLibVersionMinor()); + strLog.Format("CEC Parser created - libCEC version %s", parser->ToString((cec_server_version)g_config.serverVersion)); cout << strLog.c_str() << endl; //make stdin non-blocking