[MPlayer-dev-eng] [PATCH] fbdev x and y positioning

Sander 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.

Kind regards,


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vo_fbdev.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080722/88004d0d/attachment.asc>

More information about the MPlayer-dev-eng mailing list