Mercurial > mplayer.hg
comparison libvo/vo_xv.c @ 6382:86d5fc5b54e2
fix panscan support and add Jesper Svennevid's <mplayer@svennevid.net> patch
author | pontscho |
---|---|
date | Mon, 10 Jun 2002 18:40:19 +0000 |
parents | 287c2e661172 |
children | 2e323cde8ad1 |
comparison
equal
deleted
inserted
replaced
6381:e5e288512d8f | 6382:86d5fc5b54e2 |
---|---|
497 drwY=( vo_screenheight - (vo_dheight > vo_screenheight?vo_screenheight:vo_dheight) ) / 2; | 497 drwY=( vo_screenheight - (vo_dheight > vo_screenheight?vo_screenheight:vo_dheight) ) / 2; |
498 vo_dwidth=(vo_dwidth > vo_screenwidth?vo_screenwidth:vo_dwidth); | 498 vo_dwidth=(vo_dwidth > vo_screenwidth?vo_screenwidth:vo_dwidth); |
499 vo_dheight=(vo_dheight > vo_screenheight?vo_screenheight:vo_dheight); | 499 vo_dheight=(vo_dheight > vo_screenheight?vo_screenheight:vo_dheight); |
500 mp_msg(MSGT_VO,MSGL_V, "[xv-fs] dx: %d dy: %d dw: %d dh: %d\n",drwX,drwY,vo_dwidth,vo_dheight ); | 500 mp_msg(MSGT_VO,MSGL_V, "[xv-fs] dx: %d dy: %d dw: %d dh: %d\n",drwX,drwY,vo_dwidth,vo_dheight ); |
501 } | 501 } |
502 | |
503 panscan_calc(); | |
502 | 504 |
503 mp_msg(MSGT_VO,MSGL_V, "[xv] dx: %d dy: %d dw: %d dh: %d\n",drwX,drwY,vo_dwidth,vo_dheight ); | 505 mp_msg(MSGT_VO,MSGL_V, "[xv] dx: %d dy: %d dw: %d dh: %d\n",drwX,drwY,vo_dwidth,vo_dheight ); |
504 | 506 |
505 saver_off(mDisplay); // turning off screen saver | 507 saver_off(mDisplay); // turning off screen saver |
506 return 0; | 508 return 0; |