From: Lars Op den Kamp Date: Mon, 13 Feb 2012 17:42:18 +0000 (+0100) Subject: cec: don't send power on, acitve source and standby commands by default in cec-client X-Git-Tag: upstream/2.2.0~1^2~35^2~71 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=dba49757e9b72248de0c0ccd56eadb582d5d1c5d;p=deb_libcec.git cec: don't send power on, acitve source and standby commands by default in cec-client --- 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);