1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 16:22:01 +00:00

Modified aspect reference, uses default PAL values... Difference to NTSC should be minimal enough so that no checking of videomode is necessary.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3662 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mswitch 2001-12-22 16:20:32 +00:00
parent a6d1e0ce2f
commit ca7c2ea806

View File

@ -123,7 +123,7 @@ static uint32_t init(uint32_t scr_width, uint32_t scr_height, uint32_t width, ui
/* Calculate screen res */
aspect_save_orig(v_width,v_height);
aspect_save_prescale(scr_width,scr_height);
aspect_save_screenres(720,576); /* Reference values from DVD spec */
aspect_save_screenres(702,575); /* Reference values from DVD spec (711,483) (702,575) */
aspect(&s_width,&s_height,A_NOZOOM);
s_width = (scr_width+15)/16; s_width*=16;
s_height = (scr_height+15)/16; s_height*=16;