Use XCB XCB_CURRENT_TIME instead of xcb-proto XCB_TIME_CURRENT_TIME
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 30 Aug 2009 19:28:42 +0000 (22:28 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 30 Aug 2009 19:29:08 +0000 (22:29 +0300)
modules/video_output/xcb/xvideo.c

index 20ca87a..5c07cde 100644 (file)
@@ -385,7 +385,7 @@ static int Open (vlc_object_t *obj)
              xcb_xv_grab_port_reply_t *gr =
                  xcb_xv_grab_port_reply (p_sys->conn,
                      xcb_xv_grab_port (p_sys->conn, port,
-                                       XCB_TIME_CURRENT_TIME), NULL);
+                                       XCB_CURRENT_TIME), NULL);
              uint8_t result = gr ? gr->result : 0xff;
 
              free (gr);