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

Modified Files:
        videothumb.py 
Log Message:
Use Process.


Index: videothumb.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util/videothumb.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** videothumb.py       29 Nov 2004 20:18:10 -0000      1.23
--- videothumb.py       20 Dec 2004 14:31:44 -0000      1.24
***************
*** 54,68 ****
  # do not import freevo stuff when running this file
  if __name__ != "__main__":
!     import childapp
      import config
      import vfs
  
!     class MplayerThumbnail(childapp.Instance):
          """
!         Mplayer thumbnailing childapp
          """
          def __init__( self, app, imagefile):
              self.imagefile = imagefile
!             childapp.Instance.__init__(self, app, stop_osd=0)
  
          def stdout_cb(self, line):
--- 54,68 ----
  # do not import freevo stuff when running this file
  if __name__ != "__main__":
!     from util.popen import Process
      import config
      import vfs
  
!     class MplayerThumbnail(Process):
          """
!         Mplayer thumbnailing process
          """
          def __init__( self, app, imagefile):
              self.imagefile = imagefile
!             Process.__init__(self, app)
  
          def stdout_cb(self, line):



-------------------------------------------------------
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