1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-20 18:28:01 +00:00
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7876 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-10-23 18:51:19 +00:00
parent 5fe1f32e2b
commit a28cbe4811
2 changed files with 2 additions and 4 deletions

View File

@ -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);

View File

@ -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 +