[MPlayer-dev-eng] [PATCH] fbdev x and y positioning
thrill12 at gmx.net
Tue Jul 22 14:44:39 CEST 2008
I was playing around with mplayer, and noticed that it does not support
x- and y-positioning for playout via the framebuffer (fbdev). It is a
very simple patch to make, however, and is compatible with the current
"geometry"-parameter, used for other video output devices. It is
particularly useful for some devices that only support basic framebuffer
output, and need some way to position the output on screen.
The patch adds x- and y-positioning to vo_fbdev.c via the geometry
parameter. You will always have to input the real screenwidth and
-height for this parameter to work. The width- and height parameters of
geometry are ignored.
E.g. "mplayer -vo fbdev -ao alsa -geometry 400:400 -screenw 1024
-screenh 768 myfile.mpg" would play 'myfile.mpg' at coordinates
(400,400) on a screen of 1024x768 pixels.
I hope this simple patch can be added to the SVN-tree/latest release.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the MPlayer-dev-eng