# HG changeset patch # User arpi # Date 1017004936 0 # Node ID 0409c865d9e44c226cd477288f7ea42d20150616 # Parent 83e6e16e9670e1ab75e8f0be1e851829c472a859 -fs aspect fix by KotH diff -r 83e6e16e9670 -r 0409c865d9e4 libvo/vo_xvidix.c --- a/libvo/vo_xvidix.c Sun Mar 24 21:17:16 2002 +0000 +++ b/libvo/vo_xvidix.c Sun Mar 24 21:22:16 2002 +0000 @@ -80,6 +80,7 @@ XTranslateCoordinates(mDisplay, vo_window, mRoot, 0, 0, &drwcX, &drwcY, &mRoot); + aspect(&dwidth,&dheight,A_NOZOOM); if (!vo_fs) mp_msg(MSGT_VO, MSGL_V, "[xvidix] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n", drwcX, drwcY, drwX, drwY, drwWidth, drwHeight); @@ -88,6 +89,7 @@ #if X11_FULLSCREEN if (vo_fs) { + aspect(&dwidth,&dheight,A_ZOOM); drwX = (vo_screenwidth - (dwidth > vo_screenwidth ? vo_screenwidth : dwidth)) / 2; drwcX += drwX; drwY = (vo_screenheight - (dheight > vo_screenheight ? vo_screenheight : dheight)) / 2;