testclient: use CECDEVICE_TV instead of the default argument (CECDEVICE_BROADCAST...
authorLars Op den Kamp <lars@opdenkamp.eu>
Sun, 2 Oct 2011 18:51:04 +0000 (20:51 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sun, 2 Oct 2011 18:53:56 +0000 (20:53 +0200)
src/testclient/main.cpp

index 15a333d0f78f2f9a49ade060e3662ef68fadc0ac..deabed74e54d81594857696a7e13b35cdb101486 100644 (file)
@@ -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;