From: Lars Op den Kamp Date: Sun, 2 Oct 2011 18:51:04 +0000 (+0200) Subject: testclient: use CECDEVICE_TV instead of the default argument (CECDEVICE_BROADCAST... X-Git-Tag: upstream/2.2.0~1^2~309 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8829d291b150bb34c24deb5ff745c374fba17f7a;p=deb_libcec.git testclient: use CECDEVICE_TV instead of the default argument (CECDEVICE_BROADCAST) for PowerOnDevices() and PowerOffDevices() --- diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index 15a333d..deabed7 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -192,7 +192,7 @@ int main (int argc, char *argv[]) cout << "cec device opened" << endl; usleep(CEC_SETTLE_DOWN_TIME); - parser->PowerOnDevices(); + parser->PowerOnDevices(CECDEVICE_TV); flush_log(parser); parser->SetActiveView(); @@ -263,7 +263,7 @@ int main (int argc, char *argv[]) CCondition::Sleep(50); } - parser->PowerOffDevices(); + parser->PowerOffDevices(CECDEVICE_TV); flush_log(parser); UnloadLibCec(parser); return 0;