1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00

aspect changes integrated .., please check performance and conformance

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2279 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
sven 2001-10-19 10:51:04 +00:00
parent a8785016e1
commit f615e23d85

View File

@ -617,12 +617,18 @@ init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint3
if (X_already_started) return -1;
if(!vo_init()) return -1;
aspect_save_orig(width,height);
aspect_save_prescale(d_width,d_height);
aspect_save_screenres(vo_screenwidth,vo_screenheight);
aspect(&d_width,&d_height,A_NOZOOM);
X_already_started++;
if( flags&0x01 )
{
isFullscreen = GL_TRUE;
aspect(&d_width,&d_height,vo_screenwidth,vo_screenheight);
isFullscreen = GL_TRUE;
aspect(&d_width,&d_height,A_ZOOM);
hint.x = 0;
hint.y = 0;
hint.width = vo_screenwidth;