Mercurial > mplayer.hg
comparison libvo/vo_tdfxfb.c @ 8745:93f78fb709e6
Added support for X style -geometry options (adapted from Henk's patch)
-- Mark
author | mark |
---|---|
date | Fri, 03 Jan 2003 20:46:44 +0000 |
parents | 5b39e79af5fe |
children | d65ddafbc404 |
comparison
equal
deleted
inserted
replaced
8744:f3c6f022d6b0 | 8745:93f78fb709e6 |
---|---|
202 | 202 |
203 /* Setup output screen dimensions etc */ | 203 /* Setup output screen dimensions etc */ |
204 static void setup_screen(uint32_t full) | 204 static void setup_screen(uint32_t full) |
205 { | 205 { |
206 aspect(&vidwidth, &vidheight, full ? A_ZOOM : A_NOZOOM); | 206 aspect(&vidwidth, &vidheight, full ? A_ZOOM : A_NOZOOM); |
207 geometry(&vidx, &vidy, screenwidth, screenheight, vidwidth, vidheight, full); | 207 geometry(&vidx, &vidy, screenwidth, screenheight, vidwidth, vidheight); |
208 vo_fs = full; | 208 vo_fs = full; |
209 clear_screen(); | 209 clear_screen(); |
210 } | 210 } |
211 | 211 |
212 static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, | 212 static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, |