[MPlayer-dev-eng] [PATCH] x11 vo drivers override user settings for window placement

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Mon Jun 25 18:02:42 CEST 2007


Hi Thomas Orgis!

 On 2007.06.25 at 17:30:28 +0200, Thomas Orgis wrote next:

> Mplayer may have to resize the window for aspect ratio... perhaps choose the
> largest rectangle that retains aspect ration within the user-defined size...

Nah, then when you switch back and forth between videos with different
aspect, mplayer window will get smaller till it gets to 1x1..

In case of keeping original window size, mplayer should just keep
either current x or current y dimension and resize the other one
according to current size and aspect ratio.

However, I never thought there is much reason in this, imho coordinate
of left upper corner should be preserved, but size can be set anew. With
fullscreen being special case, of course.

-- 

Vladimir



More information about the MPlayer-dev-eng mailing list