[Mplayer-cvslog] CVS: main/libvo x11_common.c,1.155,1.156
Attila Kinali CVS
attila at mplayerhq.hu
Sat Sep 20 12:24:28 CEST 2003
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv2801
Modified Files:
x11_common.c
Log Message:
fix aspect for gl2 fullscreen
patch by Tristan Seligmann <mithrandi-mplayer-dev-eng at mithrandi.za.net>
Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -r1.155 -r1.156
--- x11_common.c 2 Sep 2003 14:39:02 -0000 1.155
+++ x11_common.c 20 Sep 2003 10:24:10 -0000 1.156
@@ -16,6 +16,7 @@
#include <signal.h>
#include "video_out.h"
+#include "aspect.h"
#include "help_mp.h"
#include <X11/Xmd.h>
@@ -699,6 +700,7 @@
if ( vo_window == None ) break;
vo_dwidth=Event.xconfigure.width;
vo_dheight=Event.xconfigure.height;
+ if (vo_fs) aspect(&vo_dwidth, &vo_dheight, A_ZOOM);
#if 0
/* when resizing, x and y are zero :( */
vo_dx=Event.xconfigure.x;
More information about the MPlayer-cvslog
mailing list