repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: transmit a keypress and key release as power on command when the target device...
[deb_libcec.git]
/
src
/
testclient
/
main.cpp
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)
}
if (!g_bSingleCommand)
- {
- PrintToStdOut("cec device opened");
-
- parser->PowerOnDevices(CECDEVICE_TV);
- parser->SetActiveSource();
-
PrintToStdOut("waiting for input");
PrintToStdOut("waiting for input");
- }
while (!g_bExit && !g_bHardExit)
{
while (!g_bExit && !g_bHardExit)
{
@@
-1130,9
+1123,6
@@
int main (int argc, char *argv[])
CEvent::Sleep(50);
}
CEvent::Sleep(50);
}
- if (!g_bSingleCommand && !g_bHardExit)
- parser->StandbyDevices(CECDEVICE_BROADCAST);
-
parser->Close();
UnloadLibCec(parser);
parser->Close();
UnloadLibCec(parser);