[MPlayer-users] Re: [BUG] Monitor aspect is fixed, should be variable

Alban Bedel albeu at free.fr
Fri Aug 29 12:27:52 CEST 2003


Hi Hans Korneder,

on Fri, 29 Aug 2003 03:17:09 -0700 (PDT) you wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read
> DOCS/bugreports.html] In file libvo/aspect.c the monitor aspect is fixed
> to
>  float monitor_aspect=4.0/3.0;
> This causes distorted images on other monitors
> (like the 16:9 I'm currently using).
> 
> A way to correct this is using the X11-macros
>  DisplayWidthMM(mDisplay,mScreen)
> resp.
>  DisplayHeightMM(mDisplay,mScreen)
> 
> I did this in the beginning of the 
>  static uint32_t config(...)
> in libvo/vo_xv.c and libvo/vo_x11.c
> by calling a (new) function 
>  m_a = ... DisplayWidthMM(...)/DisplayHeightMM(...);
>  aspect_save_monitor(m_a);
> which I defined in aspect.c as follows:
>  void aspect_save_monitor(double m_a){
>   monitor_aspect = m_a;
>   }
> 
> Currently I'm using the source from CVS dated
> 20030827.
> 
> I think that this (or a similar) fix should be
> included in future releases.
Have you tried -monitoraspect ?
	Albeu
-- 

Everything is controlled by a small evil group
to which, unfortunately, no one we know belongs.




More information about the MPlayer-users mailing list