[Toxine-cvs] CVS: toxine/src/plugins vo_aa.c,1.5,1.6 vo_dxr3.c,1.8,1.9 vo_none.c,1.1,1.2 vo_x11.c,1.
Brought to you by:
f1rmb
From: Daniel Caujolle-B. <f1...@us...> - 2002-07-24 09:06:57
|
Update of /cvsroot/toxine/toxine/src/plugins In directory usw-pr-cvs1:/tmp/cvs-serv24358/plugins Modified Files: vo_aa.c vo_dxr3.c vo_none.c vo_x11.c Log Message: Few cleanups. Index: vo_aa.c =================================================================== RCS file: /cvsroot/toxine/toxine/src/plugins/vo_aa.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- vo_aa.c 12 Jul 2002 13:40:36 -0000 1.5 +++ vo_aa.c 24 Jul 2002 09:06:53 -0000 1.6 @@ -76,9 +76,8 @@ pthread_detach(pthread_self()); - while(tox->running) { + while(tox->running) usleep(16666); - } pthread_exit(NULL); } Index: vo_dxr3.c =================================================================== RCS file: /cvsroot/toxine/toxine/src/plugins/vo_dxr3.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- vo_dxr3.c 9 Jul 2002 20:33:10 -0000 1.8 +++ vo_dxr3.c 24 Jul 2002 09:06:53 -0000 1.9 @@ -86,9 +86,8 @@ pthread_detach(pthread_self()); - while(tox->running) { + while(tox->running) usleep(16666); - } pthread_exit(NULL); } Index: vo_none.c =================================================================== RCS file: /cvsroot/toxine/toxine/src/plugins/vo_none.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- vo_none.c 12 Jul 2002 13:40:36 -0000 1.1 +++ vo_none.c 24 Jul 2002 09:06:53 -0000 1.2 @@ -51,9 +51,8 @@ pthread_detach(pthread_self()); - while(tox->running) { + while(tox->running) usleep(16666); - } pthread_exit(NULL); } Index: vo_x11.c =================================================================== RCS file: /cvsroot/toxine/toxine/src/plugins/vo_x11.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- vo_x11.c 19 Jul 2002 22:38:46 -0000 1.12 +++ vo_x11.c 24 Jul 2002 09:06:53 -0000 1.13 @@ -312,7 +312,7 @@ update_cursor_visibility(tox); } - sleep(1); + xine_usec_sleep(1000000); } pthread_exit(NULL); @@ -537,11 +537,10 @@ /* * completion event */ - if(XShmQueryExtension(private->display) == True) { + if(XShmQueryExtension(private->display) == True) private->completion_event = XShmGetEventBase(private->display) + ShmCompletion; - } else { + else private->completion_event = -1; - } private->x11_drawable[private->fullscreen].video_width = 720; private->x11_drawable[private->fullscreen].video_height = 576; @@ -872,11 +871,11 @@ if (xevent->count == 0) { - if(xev->xany.window == private->x11_drawable[private->fullscreen].video_window) { + if(xev->xany.window == private->x11_drawable[private->fullscreen].video_window) tox->video.driver->gui_data_exchange (tox->video.driver, GUI_DATA_EX_EXPOSE_EVENT, xev); - } + } } break; |