[Mplayer-advusers] [Bug] (6/6) mplayer mis-calculates the resolution when pre-scaling

Arpi arpi at thot.banki.hu
Sat Jul 6 21:45:25 CEST 2002


Hi,

> The reason for this seems to be a very limited aspect precision in the 
> pre-scaling algorithm: It appears that exactly 1.33 is used as the aspect 
> ration instead of 4:3 (1.333333....). If I use -aspect 4:3 or -aspect 
> 1.33333 mplayer calculates the correct upscale resolution of 768x576.
> 
> After some searching I found the culprit:
> 
> In line 249 of libmpdemux/demux_nuv.c
> 
>                 sh_video->aspect = (float) 1.33;
> 
> is used. It should be changed to 4.0/3.0 or similar, I think.

thanks, fixed


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-advusers mailing list