[MPlayer-dev-eng] [PATCH] screen width fix on vo_x11.c

Kazunori Ueno jagarl at creator.club.ne.jp
Wed Jul 31 10:23:18 CEST 2002


Hello, A'rpi.

> > % mplayer -vo x11 -xy 2 XXX.avi
> > If the screen size of 'XXX.avi' is 320x240, this
> > command should make the mplayer window and its size
> > should be 640x480. But the option '-xy N' cause no effect
> > with vo_x11 video output driver and the window size
> > is not changed.
> > Following patch fixes this problem.
> no. RTFM does fix it: -zoom enables software scaling

no.
% mplayer -vo x11 -xy 2 -zoom XXX.avi
does not change the window size, too.

Without my patch, 
% mplayer -vo x11 XXX.avi
% mplayer -vo x11 -xy 2 XXX.avi
% mplayer -vo x11 -xy 2 -zoom XXX.avi
These three commands are identical and
make the same size(320x240) window and
no scaling occurs.

With my patch,
% mplayer -vo x11 XXX.avi
makes 320x240, no scaling window,
% mplayer -vo x11 -xy 2 XXX.avi
makes 640x480, no scaling(video output is centered) window,and
% mplayer -vo x11 -xy 2 -zoom XXX.avi
makes 640x480, software scaling video output.

---
Kazunori Ueno / Univ. of Tokyo.



More information about the MPlayer-dev-eng mailing list