X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=oble.cpp;h=be973e23c11704828e781a483c420365b2fd91c8;hb=3cc6b22c52cc533287fba6954aead590209eb374;hp=ab5ca3918f96ad3cf503e8e12d831996448d9fa6;hpb=9618584c806c8f2ad972d7634f9587dc2ce5091b;p=ozzloy%40gmail.com%2Foble diff --git a/oble.cpp b/oble.cpp index ab5ca39..be973e2 100644 --- 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(); - system("gnome-screensaver-command --poke"); } 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; - frame = cvQueryFrame(capture); + frame = cvQueryFrame(capture); if(!frame) { cerr << "ERROR: frame is still null... maybe reset capture?" << endl;