projects
/
ozzloy@gmail.com
/
oble
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore built and temporary files
[ozzloy@gmail.com/oble]
/
oble.cpp
diff --git
a/oble.cpp
b/oble.cpp
index ab5ca3918f96ad3cf503e8e12d831996448d9fa6..be973e23c11704828e781a483c420365b2fd91c8 100644
(file)
--- a/
oble.cpp
+++ b/
oble.cpp
@@
-96,7
+96,6
@@
void update_idle(int faces_total)
{
if(verbose)printf("\t\tpoking\n");
reset_idle_time();
{
if(verbose)printf("\t\tpoking\n");
reset_idle_time();
- system("gnome-screensaver-command --poke");
}
saw_last_time = 1;
}
}
saw_last_time = 1;
}
@@
-256,7
+255,7
@@
int get_one_frame(CvCapture* capture, IplImage* &frame)
if(!frame)
{
cerr << "ERROR: frame is null..., trying again" << endl;
if(!frame)
{
cerr << "ERROR: frame is null..., trying again" << endl;
- frame = cvQueryFrame(capture);
+ frame = cvQueryFrame(capture);
if(!frame)
{
cerr << "ERROR: frame is still null... maybe reset capture?" << endl;
if(!frame)
{
cerr << "ERROR: frame is still null... maybe reset capture?" << endl;