From dba49757e9b72248de0c0ccd56eadb582d5d1c5d Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Mon, 13 Feb 2012 18:42:18 +0100 Subject: [PATCH] cec: don't send power on, acitve source and standby commands by default in cec-client --- src/testclient/main.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index 7517249..2e7fee4 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -1103,14 +1103,7 @@ int main (int argc, char *argv[]) } if (!g_bSingleCommand) - { - PrintToStdOut("cec device opened"); - - parser->PowerOnDevices(CECDEVICE_TV); - parser->SetActiveSource(); - PrintToStdOut("waiting for input"); - } while (!g_bExit && !g_bHardExit) { @@ -1130,9 +1123,6 @@ int main (int argc, char *argv[]) CEvent::Sleep(50); } - if (!g_bSingleCommand && !g_bHardExit) - parser->StandbyDevices(CECDEVICE_BROADCAST); - parser->Close(); UnloadLibCec(parser); -- 2.34.1