Commit 7f592f04 authored by Christophe Massiot's avatar Christophe Massiot

* libvo/video_out_x11.c: Remove debug code checked in by mistake, patch by

   Lionel Debroux
parent 351d8d49
......@@ -173,7 +173,6 @@ static int handle_error (Display * display, XErrorEvent * error)
static void * create_shm (x11_instance_t * instance, int size)
{
fprintf(stderr, "create_shm\n");
instance->shminfo.shmid = shmget (IPC_PRIVATE, size, IPC_CREAT | 0777);
if (instance->shminfo.shmid == -1)
goto error;
......@@ -272,7 +271,6 @@ static void x11_draw_frame (vo_instance_t * _instance,
instance->width, instance->height);
XFlush (instance->display);
frame->wait_completion = instance->xshm;
sleep(1);
}
static int x11_alloc_frames (x11_instance_t * instance, int xshm)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment