[MPlayer-cvslog] r27925 - in trunk/libvo: vo_x11.c vo_xv.c

reimar subversion at mplayerhq.hu
Sat Nov 15 19:58:15 CET 2008


Author: reimar
Date: Sat Nov 15 19:58:14 2008
New Revision: 27925

Log:
Use vo_dwidth/vo_dheight for creating the windows instead of d_width/d_height.
This fixes the -vm bug that the created window is too small.


Modified:
   trunk/libvo/vo_x11.c
   trunk/libvo/vo_xv.c

Modified: trunk/libvo/vo_x11.c
==============================================================================
--- trunk/libvo/vo_x11.c	(original)
+++ trunk/libvo/vo_x11.c	Sat Nov 15 19:58:14 2008
@@ -421,7 +421,7 @@ static int config(uint32_t width, uint32
                 XSelectInput(mDisplay, vo_window, ExposureMask);
         } else
         {
-            vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, d_width, d_height,
+            vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, vo_dwidth, vo_dheight,
                     flags, theCmap, "x11", title);
         }
 

Modified: trunk/libvo/vo_xv.c
==============================================================================
--- trunk/libvo/vo_xv.c	(original)
+++ trunk/libvo/vo_xv.c	Sat Nov 15 19:58:14 2008
@@ -272,7 +272,7 @@ static int config(uint32_t width, uint32
             }
         } else
         {
-            vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, d_width, d_height,
+            vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, vo_dwidth, vo_dheight,
                    flags, CopyFromParent, "xv", title);
             XChangeWindowAttributes(mDisplay, vo_window, xswamask, &xswa);
         }



More information about the MPlayer-cvslog mailing list