Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11475/src

Modified Files:
        osd.py setup_freevo.py 
Log Message:
Add directfb as a display option.


Index: setup_freevo.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/setup_freevo.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** setup_freevo.py     20 Apr 2004 17:33:59 -0000      1.16
--- setup_freevo.py     8 Jul 2004 12:44:40 -0000       1.17
***************
*** 13,16 ****
--- 13,19 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.17  2004/07/08 12:44:40  rshortt
+ # Add directfb as a display option.
+ #
  # Revision 1.16  2004/04/20 17:33:59  dischi
  # lsdvd check
***************
*** 130,134 ****
     --display=DISP               set the display
                                    DISP can be x11, fbdev, dxr3, mga, 
!                                   dfbmga or dga
                                    
     --tv=NORM                    set the TV standard
--- 133,137 ----
     --display=DISP               set the display
                                    DISP can be x11, fbdev, dxr3, mga, 
!                                   directfb, dfbmga or dga
                                    
     --tv=NORM                    set the TV standard
***************
*** 168,172 ****
  def check_config(conf):
      vals_geometry = ['800x600', '768x576', '640x480']
!     vals_display = ['x11', 'fbdev', 'dfbmga', 'mga', 'dxr3', 'dga']
      vals_tv = ['ntsc', 'pal', 'secam']
      vals_chanlist = ['us-bcast', 'us-cable', 'us-cable-hrc',
--- 171,175 ----
  def check_config(conf):
      vals_geometry = ['800x600', '768x576', '640x480']
!     vals_display = ['x11', 'fbdev', 'directfb', 'dfbmga', 'mga', 'dxr3', 'dga']
      vals_tv = ['ntsc', 'pal', 'secam']
      vals_chanlist = ['us-bcast', 'us-cable', 'us-cable-hrc',
***************
*** 317,321 ****
  
      # set geometry for display/tv combinations without a choice
!     if conf.display == 'dfbmga':
          if conf.tv == 'ntsc':
              conf.geometry = '720x480'
--- 320,324 ----
  
      # set geometry for display/tv combinations without a choice
!     if conf.display in ( 'directfb', 'dfbmga' ):
          if conf.tv == 'ntsc':
              conf.geometry = '720x480'

Index: osd.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/osd.py,v
retrieving revision 1.163
retrieving revision 1.164
diff -C2 -d -r1.163 -r1.164
*** osd.py      29 Jun 2004 18:29:20 -0000      1.163
--- osd.py      8 Jul 2004 12:44:40 -0000       1.164
***************
*** 12,15 ****
--- 12,18 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.164  2004/07/08 12:44:40  rshortt
+ # Add directfb as a display option.
+ #
  # Revision 1.163  2004/06/29 18:29:20  dischi
  # auto repair broken thumbnails
***************
*** 340,347 ****
          self.height = config.CONF.height
  
!         if config.CONF.display== 'dxr3':
              os.environ['SDL_VIDEODRIVER'] = 'dxr3'
! 
!         if config.CONF.display == 'dfbmga':
              os.environ['SDL_VIDEODRIVER'] = 'directfb'
  
--- 343,349 ----
          self.height = config.CONF.height
  
!         if config.CONF.display == 'dxr3':
              os.environ['SDL_VIDEODRIVER'] = 'dxr3'
!         elif config.CONF.display in ( 'directfb', 'dfbmga' ):
              os.environ['SDL_VIDEODRIVER'] = 'directfb'
  



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to