1
mirror of https://github.com/mpv-player/mpv synced 2024-10-22 08:51:57 +02:00

Changed the default again so that the initial video position is in

the upper left corner like in vo fbdev[2].
Reason: vo cvidix does not know the screen resolution unlike you specify
it with screen[w/h], resulting in the video being displayed on a random
position.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13356 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2004-09-16 18:08:17 +00:00
parent adf2ed95d7
commit d32a38dfed

View File

@ -47,7 +47,7 @@ static vidix_grkey_t gr_key;
static uint32_t setup_vidix(){
int x=vo_dx,y=vo_dy;
aspect(&vo_dwidth,&vo_dheight,vo_fs ? A_ZOOM : A_NOZOOM);
if(!vo_geometry || vo_fs){
if(vo_fs){
if(vo_dwidth <= vo_screenwidth)x = (vo_screenwidth - vo_dwidth)/2;
else x=0;
if(vo_dheight <= vo_screenheight)y = (vo_screenheight - vo_dheight)/2;