[MPlayer-dev-eng] [PATCH] 0/5 VT switching in fbdev

Rich Felker dalias at aerifal.cx
Thu Apr 20 05:42:58 CEST 2006


On Wed, Apr 19, 2006 at 09:14:46PM -0400, Alan Curry wrote:
> This series of patches adds VT-switching support to vo_fbdev. When the tty
> mplayer is running on is not visible, it stops drawing on the screen, just as
> you would expect if you consider switching away from the VT analogous to
> lowering or iconifying an X11 window.
> 
> I have not attempted to make this work with -vo fbdev:vidix - if I have done
> the #ifdefs right, it should still show the old behavior (VT switching
> disabled)
> 
> Patch summary:
> 
> 1/5 Add vtswitch_init/vtswitch_uninit

Does this code work correctly if /dev/tty is not a linux console? Does
it work without root?

> 2/5 Make cmap a file-scope static variable
> 3/5 Make vm a file-scope static variable

Static/global vars are unwanted cruft from a long time ago. New stuff
should be moved to a private context for the vo instance.

Rich




More information about the MPlayer-dev-eng mailing list