[Mplayer-cvslog] CVS: main/libvo x11_common.c,1.54,1.55

Zoltan Ponekker pontscho at mplayer.dev.hu
Thu Mar 7 15:04:18 CET 2002


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv11562/libvo

Modified Files:
	x11_common.c 
Log Message:
vm pecs applied from daniel carter <hedonist at win.co.nz>

Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- x11_common.c	7 Mar 2002 11:57:33 -0000	1.54
+++ x11_common.c	7 Mar 2002 14:04:15 -0000	1.55
@@ -66,9 +66,9 @@
 int xinerama_x = 0;
 int xinerama_y = 0;
 #endif
-
 #ifdef HAVE_XF86VM
 XF86VidModeModeInfo **vidmodes=NULL;
+XF86VidModeModeLine modeline;
 #endif
 
 void vo_hidecursor ( Display *disp , Window win )
@@ -214,6 +214,14 @@
   XFree(screens);
   }
  else
+#endif
+#ifdef HAVE_XF86VM
+ {
+  int clock;
+  XF86VidModeGetModeLine( mDisplay,mScreen,&clock ,&modeline );
+  if ( !vo_screenwidth )  vo_screenwidth=modeline.hdisplay;
+  if ( !vo_screenheight ) vo_screenheight=modeline.vdisplay;
+ }
 #endif
  {
  if (! vo_screenwidth)




More information about the MPlayer-cvslog mailing list