[MPlayer-cvslog] r29565 - trunk/libvo/vo_gl2.c

reimar subversion at mplayerhq.hu
Thu Aug 27 16:12:39 CEST 2009


Author: reimar
Date: Thu Aug 27 16:12:38 2009
New Revision: 29565

Log:
Fix video placement with -vo gl2 -fs -wid.

Modified:
   trunk/libvo/vo_gl2.c

Modified: trunk/libvo/vo_gl2.c
==============================================================================
--- trunk/libvo/vo_gl2.c	Thu Aug 27 16:10:38 2009	(r29564)
+++ trunk/libvo/vo_gl2.c	Thu Aug 27 16:12:38 2009	(r29565)
@@ -427,7 +427,7 @@ static void resize(int x,int y){
     panscan_calc();
     x += vo_panscan_x;
     y += vo_panscan_y;
-    glViewport( (vo_screenwidth-x)/2, (vo_screenheight-y)/2, x, y);
+    glViewport( (vo_dwidth-x)/2, (vo_dheight-y)/2, x, y);
   } else {
     //aspect(x, y, A_NOZOOM);
     if (WinID >= 0) {


More information about the MPlayer-cvslog mailing list