Mercurial > mplayer.hg
comparison libvo/vo_x11.c @ 10728:713a1ff7046e
geometry support for x11
author | attila |
---|---|
date | Sun, 31 Aug 2003 12:33:49 +0000 |
parents | 35f52ad860a0 |
children | 3aea64e0d6d9 |
comparison
equal
deleted
inserted
replaced
10727:8e85b87339fe | 10728:713a1ff7046e |
---|---|
243 | 243 |
244 in_format=format; | 244 in_format=format; |
245 srcW= width; | 245 srcW= width; |
246 srcH= height; | 246 srcH= height; |
247 vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2; | 247 vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2; |
248 geometry(&vo_dx, &vo_dy, &d_width, &d_height, vo_screenwidth, vo_screenheight); | |
248 vo_dwidth=d_width; vo_dheight=d_height; | 249 vo_dwidth=d_width; vo_dheight=d_height; |
249 | 250 |
250 if( flags&0x03 ) fullscreen = 1; | 251 if( flags&0x03 ) fullscreen = 1; |
251 if( flags&0x02 ) vm = 1; | 252 if( flags&0x02 ) vm = 1; |
252 if( flags&0x08 ) Flip_Flag = 1; | 253 if( flags&0x08 ) Flip_Flag = 1; |