repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
632f581
)
cec: don't send power on, acitve source and standby commands by default in cec-client
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Mon, 13 Feb 2012 17:42:18 +0000
(18:42 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Mon, 13 Feb 2012 17:42:18 +0000
(18:42 +0100)
src/testclient/main.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/testclient/main.cpp
b/src/testclient/main.cpp
index 75172498e5823845a35d2c2f8ef3f7f2519ba9aa..2e7fee43c4f5beacc92500958d6f6c2c1183d855 100644
(file)
--- 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);