diff options
author | mark <mark@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-03 20:46:44 +0000 |
---|---|---|
committer | mark <mark@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-03 20:46:44 +0000 |
commit | 0842caf6f01b10ee2d78ec3c50312df713675b92 (patch) | |
tree | ba0131d2344b0829a1a0d6dad0bf19951bdcfae5 /libvo/vo_fbdev.c | |
parent | 659dd449befdab9030db2ddcf96deb5c25c40381 (diff) | |
download | mpv-0842caf6f01b10ee2d78ec3c50312df713675b92.tar.bz2 mpv-0842caf6f01b10ee2d78ec3c50312df713675b92.tar.xz |
Added support for X style -geometry options (adapted from Henk's patch)
-- Mark
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8746 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 94ffb5e5f4..03e8d75d51 100644 --- a/libvo/vo_fbdev.c +++ b/libvo/vo_fbdev.c @@ -1039,7 +1039,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,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 @@ 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,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 + |