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

Modified Files:
        mplayer.py 
Log Message:
adjustments to new bmovl display

Index: mplayer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/mplayer.py,v
retrieving revision 1.91
retrieving revision 1.92
diff -C2 -d -r1.91 -r1.92
*** mplayer.py  20 Nov 2004 18:23:05 -0000      1.91
--- mplayer.py  18 Dec 2004 13:36:08 -0000      1.92
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.92  2004/12/18 13:36:08  dischi
+ # adjustments to new bmovl display
+ #
  # Revision 1.91  2004/11/20 18:23:05  dischi
  # use python logger module for debug
***************
*** 20,49 ****
  # use new childapp interface
  #
- # Revision 1.88  2004/09/14 20:05:44  dischi
- # bmovl updates, remove mplayer 0.90 support
- #
- # Revision 1.87  2004/09/13 19:40:02  dischi
- # fix non vobsub subtitle handling
- #
- # Revision 1.86  2004/09/07 18:56:13  dischi
- # internal colors are now lists, not int
- #
- # Revision 1.85  2004/08/27 14:24:04  dischi
- # more bmovl support
- #
- # Revision 1.84  2004/08/25 12:51:46  dischi
- # moved Application for eventhandler into extra dir for future templates
- #
- # Revision 1.83  2004/08/24 16:42:44  dischi
- # Made the fxdsettings in gui the theme engine and made a better
- # integration for it. There is also an event now to let the plugins
- # know that the theme is changed.
- #
- # Revision 1.82  2004/08/23 20:36:44  dischi
- # rework application handling
- #
- # Revision 1.81  2004/08/23 15:54:15  dischi
- # hide osd on startup
- #
  # -----------------------------------------------------------------------
  # Freevo - A Home Theater PC framework
--- 23,26 ----
***************
*** 187,192 ****
  
          # Build the MPlayer command
!         command = [ '--prio=%s' % config.MPLAYER_NICE, config.MPLAYER_CMD ] + 
\
!                   config.MPLAYER_ARGS_DEF.split(' ') + \
                    [ '-slave', '-ao'] + config.MPLAYER_AO_DEV.split(' ')
  
--- 164,168 ----
  
          # Build the MPlayer command
!         command = [ config.MPLAYER_CMD ] + config.MPLAYER_ARGS_DEF.split(' ') 
+ \
                    [ '-slave', '-ao'] + config.MPLAYER_AO_DEV.split(' ')
  
***************
*** 326,332 ****
                  command += [ '-vf', 'bmovl2=%s' % self.overlay.fifo_fname ]
              else:
!                 if not os.path.exists('/tmp/bmovl-%s' % os.getpid()):
!                     os.mkfifo('/tmp/bmovl-%s' % os.getpid())
!                 command += [ '-vf', 'bmovl=1:0:/tmp/bmovl-%s' % os.getpid() ]
  
          self.plugins = plugin.get('mplayer_video')
--- 302,307 ----
                  command += [ '-vf', 'bmovl2=%s' % self.overlay.fifo_fname ]
              else:
!                 self.overlay = gui.set_display('Bmovl', (1, 1))
!                 command += [ '-vf', 'bmovl=1:0:%s' % self.overlay.get_fname() 
]
  
          self.plugins = plugin.get('mplayer_video')
***************
*** 358,363 ****
          self.app.stop('quit\n')
          self.app = None
-         if os.path.exists('/tmp/bmovl-%s' % os.getpid()):
-             os.unlink('/tmp/bmovl-%s' % os.getpid())
  
  
--- 333,336 ----
***************
*** 540,544 ****
          
          # init the child (== start the threads)
!         childapp.Instance.__init__( self, app )
  
                  
--- 513,517 ----
          
          # init the child (== start the threads)
!         childapp.Instance.__init__( self, app, prio=config.MPLAYER_NICE )
  
                  
***************
*** 568,573 ****
              self.screen.set_overlay(self.mplayer.overlay)
          else:
!             log.info('starting Bmovl')
!             self.screen = gui.set_display('Bmovl', (self.width, self.height))
          self.area_handler = gui.AreaHandler('video', ['screen', 'view', 
'info',
                                                        'progress'])
--- 541,547 ----
              self.screen.set_overlay(self.mplayer.overlay)
          else:
!             log.info('activating bmovl')
!             self.screen = self.mplayer.overlay
!             self.screen.set_size((self.width, self.height))
          self.area_handler = gui.AreaHandler('video', ['screen', 'view', 
'info',
                                                        'progress'])



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to