On Sat, Sep 25, 2004 at 12:52:49AM -0300, Rob Shortt wrote: > > Hi, > > I am in the process of moving my setup from using crtc2 to vga output > and bes. Right now I am testing on a monitor but I'm about to purchase > an overhead projector. > > I noticed that mplayer -vo dfbmga wasn't honouring the noinput flag. My > mplayer command is using -vo > dfbmga:buffermode=triple:bes:nocrtc2:noinput. I need to disable > directfb input in mplayer in order to start it. I have disabled the > keyboard module in my directfbrc and am controlling mplayer in slave > mode from Freevo in which I am using the kernel input layer to get > events from my remote. > > In vo_dfbmga.c at around line 428 it resets no_input to 1 if use_bes is > true. I would rather that line be removed and have it default to 1 > instead of use_input = !getenv( "DISPLAY" ). Does that make sense?
Not really. If use_input defaulted to 1 all users who use XDirectFB + dfbmga @ CRTC2 would get all keypresses twice. And if it defaulted to 0 BES users would get no input at all. I'll change the code so that [no]input options really override any defaults including the BES case. That should fix your case and not cause any changes to other users. > Also, I am wondering why there are references to the primary layer > throughout this file when they aren't being used. In my setup (and > Freevo w/ dfbmga in general) I would prefer to keep mplayer from > touching the primary layer if I tell it to use bes only, we are doing > our own thing on the primary layer. I could add an option for that but I don't see what good it would do since the primary layer is completely covered by the BES. > Are the references to primary there a sign of something yet to come or > can / should they be removed? I have made all these changes in my > working copy and things are going well. The primary layer is put into exclusive mode so that windowstack updates don't hinder performance. In the future it could also be used to make a window to house the BES. -- Ville Syrj�l� [EMAIL PROTECTED] http://www.sci.fi/~syrjala/
