Hello --- I'm trying to fix an application (cinelerra) that changes from using Xv hardware scaling to using unaccelerated X11 output in the middle of a video stream. Everything works fine, but there is a "black flash" (output window goes dark) for a fraction of a second at the switch.
Current shutdown code looks something like this: case BC_YUV422: XvStopVideo(top_level->display, xv_portid, last_pixmap); for(int i = 0; i < ring_buffers; i++) { XFree(xv_image[i]); } XShmDetach(top_level->display, &shm_info); XvUngrabPort(top_level->display, xv_portid, CurrentTime); shmdt(shm_info.shmaddr); shmctl(shm_info.shmid, IPC_RMID, 0); break; Output window goes black soon after XvStopVideo call. Is there something I can do immediately before or after this call to avoid having a period of time when no image is shown? Something I can avoid doing? My blind attempts haven't worked. Thanks! Nathan Kurz _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel