Update of /cvsroot/freevo/freevo/src/video/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv12072/src/video/plugins

Modified Files:
        mplayer.py 
Log Message:
Made a check to see if file exists before unlinking. 


Index: mplayer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/mplayer.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** mplayer.py  1 Jul 2003 20:35:58 -0000       1.2
--- mplayer.py  1 Jul 2003 21:47:35 -0000       1.3
***************
*** 21,24 ****
--- 21,27 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.3  2003/07/01 21:47:35  outlyer
+ # Made a check to see if file exists before unlinking.
+ #
  # Revision 1.2  2003/07/01 20:35:58  outlyer
  # Replaced the os.system('rm ...') calls with os.unlink()
***************
*** 336,340 ****
              config.MPLAYER_USE_WID):
              if DEBUG: print 'Got freevo_xwin and x11'
!             os.unlink('/tmp/freevo.wid')
              os.system('./runapp ./freevo_xwin  0 0 %s %s > /tmp/freevo.wid &' %
                        (osd.width, osd.height))
--- 339,343 ----
              config.MPLAYER_USE_WID):
              if DEBUG: print 'Got freevo_xwin and x11'
!             if os.path.exists('/tmp/freevo.wid'): os.unlink('/tmp/freevo.wid')
              os.system('./runapp ./freevo_xwin  0 0 %s %s > /tmp/freevo.wid &' %
                        (osd.width, osd.height))
***************
*** 584,588 ****
          if DEBUG: print 'Killing mplayer'
          util.killall('freevo_xwin')
!         os.unlink('/tmp/freevo.wid')
  
          if config.MPLAYER_DEBUG:
--- 587,591 ----
          if DEBUG: print 'Killing mplayer'
          util.killall('freevo_xwin')
!         if os.path.exists('/tmp/freevo.wid'): os.unlink('/tmp/freevo.wid')
  
          if config.MPLAYER_DEBUG:




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to