From 2758feb917e4df5f6ec3400286bb6b40bc12ec37 Mon Sep 17 00:00:00 2001 From: attila Date: Sat, 4 Jan 2003 13:11:18 +0000 Subject: [PATCH] fix xv window position problem git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8768 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/geometry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/geometry.c b/libvo/geometry.c index ab96b2c7da..7a9b638c7b 100644 --- a/libvo/geometry.c +++ b/libvo/geometry.c @@ -35,7 +35,6 @@ int geometryFull(int *pwidth, int *pheight, int *xpos, int *ypos, int scrw, int sscanf(vo_geometry, "%i%%:%i%%", &xper, &yper) != 2 && sscanf(vo_geometry, "%i%%", &xper) != 1) return geometry_error(); - } if(xper >= 0 && xper <= 100) xoff = (scrw - vidw) * ((float)xper / 100.0); if(yper >= 0 && yper <= 100) yoff = (scrh - vidh) * ((float)yper / 100.0); @@ -50,6 +49,7 @@ int geometryFull(int *pwidth, int *pheight, int *xpos, int *ypos, int scrw, int if(ypos) *ypos = yoff; if(pwidth) *pwidth = width; if(pheight) *pheight = height; + } return 1; }