[MPlayer-dev-eng] [PATCH] Keep window aspect ratio when resizing
D Richard Felker III
dalias at aerifal.cx
Tue Dec 17 20:44:40 CET 2002
On Tue, Dec 17, 2002 at 05:20:40PM +0100, Arnaud Boulan wrote:
> On Tuesday 17 December 2002 15:25, Moritz Bunkus wrote:
> > > Here is a small patch that implements a feature requested by a few
> > > people: keeping window aspect ratio when resizing.
> > > It works by just giving the correct aspect ratio hints to the window
> > > manager.
> >
> > Such a patch is badly needed. Unfortunately it does not always work: it
> > works with mplayer/xv but not with gmplayer/xv (icewm here).
> >
> > Also you should make this feature depend on a command line switch.
> > Perhaps the user doesn't want to be restricted to a specific AR?
>
> I made a new version which should work even in gui mode.
> Also, I added a new command-line switch, -keep_aspect_ratio or
> -nokeep_aspect_ratio
Probably some shorter names without underscors would be more
appropriate. -keepaspect and -nokeepaspect perhaps? The names might
still be a bit confusing though... Perhaps lock would be a better word
than keep?
Rich
More information about the MPlayer-dev-eng
mailing list