[MPlayer-users] Monitor Aspect Ratio
D Richard Felker III
dalias at aerifal.cx
Sat Oct 18 06:42:23 CEST 2003
On Fri, Oct 17, 2003 at 11:06:47PM -0400, Doug Carman wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
^^^^
> I have been working on compiling MPlayer 1.0pre1 for the Dell Inspiron
> 8500 laptop. The system is running RedHat 9, and has the ATI Radeon M9
> chipset with the wide aspect ratio 330mm x 210mm LCD display.
>
> This configuration requires a custom mode line in the XF86Config file to
> support 1680x1050 resolution, and requires the option DisplaySize to be
> set to "330 210".
>
> While viewing a DVD, I noticed that the aspect ratio was wrong when
> viewing full screen, but appeared to be correct when viewing in a window.
>
> After hunting through the source code, found the following in libvo/aspec.c:
>
> float monitor_aspect=4.0/3.0;
>
> This appears to hard code the monitor aspect ratio to 4:3 regardless of
> what the hardware might actually be. While changing monitor_aspect to
> 3.3/2.1 solves my problem, I have to believe that there is a better way to
> do this either by using the XFree configuration or at least making it a
^^^^^^^^^^^
> configurable parameter. More and more new systems are making the
^^^^^^^^^^^^^^^^^^^^^^
Use -monitoraspect!
Using the physical size from the X server is unacceptable since it's
often (at least slightly) wrong, and will mess things up in the (much
more common) case where aspect should be exact 4:3.
Rich
More information about the MPlayer-users
mailing list