From 8829d291b150bb34c24deb5ff745c374fba17f7a Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Sun, 2 Oct 2011 20:51:04 +0200 Subject: [PATCH] testclient: use CECDEVICE_TV instead of the default argument (CECDEVICE_BROADCAST) for PowerOnDevices() and PowerOffDevices() --- src/testclient/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.34.1