[MPlayer-dev-eng] [PATCH] Bug fix for -geometry option NODAEMON
Diego Biurrun
diego at biurrun.de
Sat Feb 5 02:43:20 CET 2005
Sascha Sommer writes:
> On Sunday 30 January 2005 19:56, Bjorn Danielsson wrote:
> > The manual page says that "%" appended to an x or y position
> > causes the corresponding value to be interpreted as a percentage
> > of screen width/height instead of an absolute pixel offset.
> >
> > The code doesn't agree, it applies this interpretation to both
> > x and y even if only one of the coordinates has a "%" suffix.
> > The attached patch makes the code agree with the manual, which
> > in my opinion is more sensible in this case.
>
> With what vo are you testing?
> Your patch doesn't work here with the x11 and xv vos.
Elaborate, it works for me with vo_x11, vo_xv and vo_xmga (Matrox
G550, XFce 4.1, Debian Sarge).
I think a good test is something like
-geometry 100:100
-geometry 100:100%
-geometry 100%:100
-geometry 100%:100%
Diego
More information about the MPlayer-dev-eng
mailing list