summaryrefslogtreecommitdiffstats
path: root/libvo/vo_fbdev.c
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-02 21:09:15 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-02 21:09:15 +0000
commit6514fbb0767930249dfb7accdddf5989691f7953 (patch)
tree6aac625cfc385fb73b5b6a4dfaed4aa7ac0f29b6 /libvo/vo_fbdev.c
parent84e15e6fe4822175cba6181d90f16bfa9620b5b7 (diff)
downloadmpv-6514fbb0767930249dfb7accdddf5989691f7953.tar.bz2
mpv-6514fbb0767930249dfb7accdddf5989691f7953.tar.xz
clean up of -geometry code.
disabled -geometry for all but -vo xv (will be fixed later) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9518 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_fbdev.c')
-rw-r--r--libvo/vo_fbdev.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libvo/vo_fbdev.c b/libvo/vo_fbdev.c
index 28d18510a3..4120661138 100644
--- a/libvo/vo_fbdev.c
+++ b/libvo/vo_fbdev.c
@@ -1046,7 +1046,9 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
if(fb_yres > image_height)
y_offset = (fb_yres - image_height) / 2;
else y_offset = 0;
- geometry(&x_offset,&y_offset,fb_xres,fb_yres,image_width,image_height);
+
+ //FIXME: update geometry code
+ //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,
@@ -1070,7 +1072,8 @@ 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);
+ //FIXME: update geometry code
+ //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 +