[MPlayer-dev-eng] [PATCH] Fix -geometry option

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Jun 2 08:22:04 CEST 2010


On Wed, Jun 02, 2010 at 12:06:35AM +0200, Giorgio wrote:
> 2010/6/1 Reimar Döffinger <Reimar.Doeffinger at gmx.de>:
> > On Tue, Jun 01, 2010 at 09:26:54PM +0200, Giorgio wrote:
> >> on my system (GNU/Linux) the -geometry option doesn't work as
> >> expected. In particular the following commands:
> >>
> >> 1) mplayer -geometry 50 file.avi
> >> 2) mplayer -geometry 50% file.avi
> >>
> >> do the same thing, placing the window at the center of the screen. If
> >> you use the -v option you can see a message like this:
> >
> > Well, the bug here is not what you think, the first syntax is not supported.
> > And personally I think the second one doesn't really make any sense either.
> 
> Oh, okay. The man page reads: "-geometry x[%][:y[%]] or [WxH][+-x+-y]"
> so I thought you could specify only x if you wanted to.

Yes, you're right, geometry.h does as well. I think there's not that much point
in it since it won't behave as expected (only changing x compared to without
geometry - instead it will behave like x:50%), but I'll probably add it anyway
just to be consistent with the docs.



More information about the MPlayer-dev-eng mailing list