repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a9bb5b5
)
testclient: use CECDEVICE_TV instead of the default argument (CECDEVICE_BROADCAST...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 2 Oct 2011 18:51:04 +0000
(20:51 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 2 Oct 2011 18:53:56 +0000
(20:53 +0200)
src/testclient/main.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/testclient/main.cpp
b/src/testclient/main.cpp
index 15a333d0f78f2f9a49ade060e3662ef68fadc0ac..deabed74e54d81594857696a7e13b35cdb101486 100644
(file)
--- a/
src/testclient/main.cpp
+++ b/
src/testclient/main.cpp
@@
-192,7
+192,7
@@
int main (int argc, char *argv[])
cout << "cec device opened" << endl;
usleep(CEC_SETTLE_DOWN_TIME);
cout << "cec device opened" << endl;
usleep(CEC_SETTLE_DOWN_TIME);
- parser->PowerOnDevices();
+ parser->PowerOnDevices(
CECDEVICE_TV
);
flush_log(parser);
parser->SetActiveView();
flush_log(parser);
parser->SetActiveView();
@@
-263,7
+263,7
@@
int main (int argc, char *argv[])
CCondition::Sleep(50);
}
CCondition::Sleep(50);
}
- parser->PowerOffDevices();
+ parser->PowerOffDevices(
CECDEVICE_TV
);
flush_log(parser);
UnloadLibCec(parser);
return 0;
flush_log(parser);
UnloadLibCec(parser);
return 0;