[MPlayer-dev-eng] [PATCH] Pivoting

Joey Parrish joey at nicewarrior.org
Sat Aug 20 17:41:06 CEST 2005


On Sat, Aug 20, 2005 at 04:46:24AM +0300, Jan Knutar wrote:
> On Friday 19 August 2005 17:40, Pawe?? Sakowski wrote:
> > Problem #2: aspect.c sets monitor_aspect to the fixed value of 4:3,
> > unless overridden by command line or config file. It's a pretty
> > arbitrary value, and it's wrong for my monitor (which has aspect ratio
> > 5:4, when rotated: 4:5). This problem isn't strictly related to
> > pivoting, basically 4:3 is not the right aspect ratio for some monitors
> > (including mine, even if not rotated). I believe it would be a better
> > heuristics to precalculate monitor_aspect by dividing width/height (thus
> > pressuming that pixels are squares).
> 
> If any new aspect code is made, it should query X for the true monitor
> dimensions, to provide for non-4:3 && non-square pixels too, IMO.
> There has to be a way to do it, as xdpyinfo seems able to get the phys
> dimensions of my screen :)
> 
> Despite what Rich says, maybe a -querymonitoraspect would be acceptable
> compromise between magic and mundanity.

I support this idea.  I would love to have monitoraspect autodetected,
as it makes things much easier on package users.  The more we can detect
and autoconfigure esoteric options, the better IMO.

--Joey

-- 
"There's no blood in your brain?  You're one of the lucky ones." --Chad




More information about the MPlayer-dev-eng mailing list