diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-23 18:51:19 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-23 18:51:19 +0000 |
commit | a28cbe48111b40786a93e4a45a6ca6d011c48db5 (patch) | |
tree | 19144cd12bf76b6c7a2c943766cd307dd38ac18a /libvo/vo_fbdev.c | |
parent | 5fe1f32e2be8289432a9836360fae07e3b06bf4d (diff) | |
download | mpv-a28cbe48111b40786a93e4a45a6ca6d011c48db5.tar.bz2 mpv-a28cbe48111b40786a93e4a45a6ca6d011c48db5.tar.xz |
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7876 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_fbdev.c')
-rw-r--r-- | libvo/vo_fbdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_fbdev.c b/libvo/vo_fbdev.c index a9f0608ad4..e86a15a652 100644 --- a/libvo/vo_fbdev.c +++ b/libvo/vo_fbdev.c @@ -1037,7 +1037,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, image_width=width; image_height=height; } - geometry(&x_offset,&y_offset,fb_xres,fb_yres,image_width,image_height); + geometry(&x_offset,&y_offset,fb_xres,fb_yres,image_width,image_height,fs); if(vidix_init(width,height,x_offset,y_offset,image_width, image_height,format,fb_bpp, @@ -1061,7 +1061,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, return 1; } - geometry(&x_offset,&y_offset,fb_xres,fb_yres,out_width,out_height); + geometry(&x_offset,&y_offset,fb_xres,fb_yres,out_width,out_height,fs); L123123875 = frame_buffer + (out_width - in_width) * fb_pixel_size / 2 + ( (out_height - in_height) / 2 ) * fb_line_len + |