[MPlayer-users] Prevent mplayer zooming when video smaller than window

Richard Markiewicz richard at ayudasystems.com
Fri Jun 22 14:47:33 CEST 2012

Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> It's not exposed via an option, but in libvo/video_out.h you can change
> in aspect_scaling "return vo_fs;" to "return 1;" and then in e.g. -vo gl
> you can use the panscan options even in windowed mode.
> Another option is to have MPlayer draw into a different application's
> window by using -wid and also use -fs, that should also allow panscan
> to work, and does not need code changes.

Thanks all for the replies. My scenario is that I'm running mplayer 
in slave mode and outputting to a control in my application. 
So I just went with Reimar's suggestion of leaving mplayer 
to do it's thing, and customising the size of my 
'display' appropriately.

Thanks for the help!

More information about the MPlayer-users mailing list