Mercurial > mplayer.hg
diff libvo/vo_fbdev.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 | 3168cfe4f7d1 |
line wrap: on
line diff
--- a/libvo/vo_fbdev.c Fri Jan 03 18:33:26 2003 +0000 +++ b/libvo/vo_fbdev.c Fri Jan 03 20:46:44 2003 +0000 @@ -1039,7 +1039,7 @@ image_width=width; image_height=height; } - geometry(&x_offset,&y_offset,fb_xres,fb_yres,image_width,image_height,fs); + geometry(&x_offset,&y_offset,fb_xres,fb_yres,image_width,image_height); if(vidix_init(width,height,x_offset,y_offset,image_width, image_height,format,fb_bpp, @@ -1063,7 +1063,7 @@ return 1; } - geometry(&x_offset,&y_offset,fb_xres,fb_yres,out_width,out_height,fs); + geometry(&x_offset,&y_offset,fb_xres,fb_yres,out_width,out_height); L123123875 = frame_buffer + (out_width - in_width) * fb_pixel_size / 2 + ( (out_height - in_height) / 2 ) * fb_line_len +