Why can't we set DISPLAY to directfb in freevo.conf?  Many people I am sure 
would like to use directfb and don't have a mga, like those on using the VIA 
EPIA's CLE266 videocard :-)

This is all I needed to get it going.  Mplayer accepts directfb as a valid 
output option, and tvtime will set output driver correctly to directfb.  I 
also checked that it doesn't mess up any uses of CONF.display...

Tony



--- osd.py.orig 2003-11-17 04:27:51.000000000 -0600
+++ osd.py      2003-11-17 04:25:30.000000000 -0600
@@ -374,7 +374,7 @@
         if config.CONF.display== 'dxr3':
             os.environ['SDL_VIDEODRIVER'] = 'dxr3'

-        if config.CONF.display == 'dfbmga':
+        if config.CONF.display == 'dfbmga' or config.CONF.display == 
'directfb':
             os.environ['SDL_VIDEODRIVER'] = 'directfb'

         # sometimes this fails
--- setup_freevo.py.orig        2003-11-17 04:29:51.000000000 -0600
+++ setup_freevo.py     2003-11-17 04:31:15.000000000 -0600
@@ -98,7 +98,7 @@

    --display=DISP               set the display
                                   DISP can be x11, fbdev, dxr3, mga,
-                                  dfbmga or dga
+                                  directfb, dfbmga or dga

    --tv=NORM                    set the TV standard
                                   NORM can be ntsc, pal or secam
@@ -139,7 +139,7 @@

 def check_config(conf):
     vals_geometry = ['800x600', '768x576', '640x480']
-    vals_display = ['x11', 'fbdev', 'dfbmga', 'mga', 'dxr3', 'dga']
+    vals_display = ['x11', 'fbdev', 'directfb', 'dfbmga', 'mga', 'dxr3', 
'dga']
     vals_tv = ['ntsc', 'pal', 'secam']
     vals_chanlist = ['us-bcast', 'us-cable', 'us-cable-hrc',
                      'japan-bcast', 'japan-cable', 'europe-west',



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to