Update of /cvsroot/freevo/freevo/src/video/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv27137/video/plugins
Modified Files:
mplayer.py
Log Message:
Replaced the os.system('rm ...') calls with os.unlink()
Index: mplayer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/mplayer.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mplayer.py 29 Jun 2003 20:43:30 -0000 1.1
--- mplayer.py 1 Jul 2003 20:35:58 -0000 1.2
***************
*** 21,24 ****
--- 21,27 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.2 2003/07/01 20:35:58 outlyer
+ # Replaced the os.system('rm ...') calls with os.unlink()
+ #
# Revision 1.1 2003/06/29 20:43:30 dischi
# o mmpython support
***************
*** 333,337 ****
config.MPLAYER_USE_WID):
if DEBUG: print 'Got freevo_xwin and x11'
! os.system('rm -f /tmp/freevo.wid')
os.system('./runapp ./freevo_xwin 0 0 %s %s > /tmp/freevo.wid &' %
(osd.width, osd.height))
--- 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))
***************
*** 581,585 ****
if DEBUG: print 'Killing mplayer'
util.killall('freevo_xwin')
! os.system('rm -f /tmp/freevo.wid')
if config.MPLAYER_DEBUG:
--- 584,588 ----
if DEBUG: print 'Killing mplayer'
util.killall('freevo_xwin')
! os.unlink('/tmp/freevo.wid')
if config.MPLAYER_DEBUG:
***************
*** 656,660 ****
print "Stopping Display for Video Playback"
osd.stopdisplay()
!
if DEBUG:
print 'MPlayer_Thread.run(): Started, cmd=%s' % self.command
--- 659,665 ----
print "Stopping Display for Video Playback"
osd.stopdisplay()
!
! os.system('/usr/sbin/matroxcolor')
!
if DEBUG:
print 'MPlayer_Thread.run(): Started, cmd=%s' % self.command
***************
*** 681,684 ****
--- 686,691 ----
osd.update()
print "Display back online"
+
+ os.system('/usr/sbin/undomatroxcolor')
self.mode = 'idle'
-------------------------------------------------------
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