diff options
author | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-04 13:11:18 +0000 |
---|---|---|
committer | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-04 13:11:18 +0000 |
commit | 2758feb917e4df5f6ec3400286bb6b40bc12ec37 (patch) | |
tree | 36638c4eae6632a37f9cca05cdb467095e1c5e19 | |
parent | 27741bec6de6491821bbbfdc49d78f88469df8b7 (diff) | |
download | mpv-2758feb917e4df5f6ec3400286bb6b40bc12ec37.tar.bz2 mpv-2758feb917e4df5f6ec3400286bb6b40bc12ec37.tar.xz |
fix xv window position problem
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8768 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/geometry.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |