X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftestclient%2Fmain.cpp;h=458c73404b4750062329526ec6cf3582e74975b6;hb=5f39c4d854ec7441761bc6db870b6bbc73016309;hp=deabed74e54d81594857696a7e13b35cdb101486;hpb=8829d291b150bb34c24deb5ff745c374fba17f7a;p=deb_libcec.git diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index deabed7..458c734 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -42,7 +42,7 @@ using namespace CEC; using namespace std; -#define CEC_TEST_CLIENT_VERSION 2 +#define CEC_TEST_CLIENT_VERSION 3 void flush_log(ICECDevice *cecParser) { @@ -263,7 +263,8 @@ int main (int argc, char *argv[]) CCondition::Sleep(50); } - parser->PowerOffDevices(CECDEVICE_TV); + parser->PowerOffDevices(CECDEVICE_BROADCAST); + parser->Close(); flush_log(parser); UnloadLibCec(parser); return 0;