[MPlayer-cvslog] r23842 - in trunk/libvo: vo_xmga.c vo_xover.c

attila subversion at mplayerhq.hu
Sun Jul 22 20:27:26 CEST 2007


Author: attila
Date: Sun Jul 22 20:27:26 2007
New Revision: 23842

Log:
10l
pass colormap instead of wrong "InputOutput" to vo_x11_create_vo_window()
fixes xmga brokenness from r23675


Modified:
   trunk/libvo/vo_xmga.c
   trunk/libvo/vo_xover.c

Modified: trunk/libvo/vo_xmga.c
==============================================================================
--- trunk/libvo/vo_xmga.c	(original)
+++ trunk/libvo/vo_xmga.c	Sun Jul 22 20:27:26 2007
@@ -220,7 +220,7 @@ static int config(uint32_t width, uint32
         } else
         {
             vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, d_width, d_height,
-                    flags, InputOutput, "xmga", title);
+                    flags, xWAttribs.colormap, "xmga", title);
         }
 
         if (vo_gc != None)

Modified: trunk/libvo/vo_xover.c
==============================================================================
--- trunk/libvo/vo_xover.c	(original)
+++ trunk/libvo/vo_xover.c	Sun Jul 22 20:27:26 2007
@@ -302,7 +302,7 @@ static int config(uint32_t width, uint32
 	{
 	    vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy,
                   window_width, window_height, flags,
-	          InputOutput, "xvidix", title);
+	          xswa.colormap, "xvidix", title);
 	    XChangeWindowAttributes(mDisplay, vo_window, xswamask, &xswa);
 	}
 	 



More information about the MPlayer-cvslog mailing list