[MPlayer-users] [BUG] incorrect aspect ratio in portrait monitor orientation (-vo directx)
D Richard Felker III
dalias at aerifal.cx
Thu Sep 4 17:27:48 CEST 2003
On Thu, Sep 04, 2003 at 10:20:51AM +0400, Roman Belenov wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> I tried mplayer 1.0pre1 on cygwin (sorry for not using CVS, I can't
> access it from this computer). I'm using LCD display with portrait
> orientation (1200x1600 resolution), and all the videos appeared
> stretched vertically; changing orientation to landscape fixed the
> situation. Quick browsing of the codes showed that DirectX backend
> that I'm using uses functions from aspect.c to fix aspect ratio of the
> displayed video but doesn't set monitor_aspect in any way, so it works
> correctly only on monitors with 4:3 width/height ratio. I guess actual
> ratio should be somehow obtained from the system.
The monitor_aspect variable is set by the -monitoraspect command line
option. Either use it on the command line or put it in your config
file. Autodetection is error-prone and not worth the trouble since 99%
of users have 4:3 monitor.
Rich
More information about the MPlayer-users
mailing list