summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-23 18:51:19 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-23 18:51:19 +0000
commita28cbe48111b40786a93e4a45a6ca6d011c48db5 (patch)
tree19144cd12bf76b6c7a2c943766cd307dd38ac18a /libvo
parent5fe1f32e2be8289432a9836360fae07e3b06bf4d (diff)
downloadmpv-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')
-rw-r--r--libvo/geometry.h2
-rw-r--r--libvo/vo_fbdev.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/libvo/geometry.h b/libvo/geometry.h
index dbfea6cd3b..2f4491592e 100644
--- a/libvo/geometry.h
+++ b/libvo/geometry.h
@@ -2,8 +2,6 @@
#ifndef __GEOMETRY_H
#define __GEOMETRY_H
-#include "aspect.h"
-
extern char *vo_geometry;
int geometry(int *xpos, int *ypos, int scrw, int scrh, int vidw, int vidh, int fs);
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 +