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

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29565 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-08-27 14:12:38 +00:00
parent f10dcbacd5
commit 26d8e6a696
1 changed files with 1 additions and 1 deletions

View File

@ -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) {