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

Modified Files:
        mplayer.py 
Log Message:
fixed crash on stop

Index: mplayer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/mplayer.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** mplayer.py  5 Feb 2004 14:23:50 -0000       1.32
--- mplayer.py  13 Feb 2004 17:36:54 -0000      1.33
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.33  2004/02/13 17:36:54  dischi
+ # fixed crash on stop
+ #
  # Revision 1.32  2004/02/05 14:23:50  outlyer
  # Patch from Viggo Fredriksen
***************
*** 190,195 ****
  
          # Start up the TV task
!         self.app = MPlayerApp(command)
!         self.app.stop_osd = True
          
          self.prev_app = rc.app()
--- 193,197 ----
  
          # Start up the TV task
!         self.app = childapp.ChildApp2(command)
          
          self.prev_app = rc.app()
***************
*** 290,313 ****
          return FALSE
      
- 
- # ======================================================================
- class MPlayerApp(childapp.ChildApp2):
-     """
-     class controlling the in and output from the mplayer process
-     """
-     def __init__(self, app):
-         # init the child (== start the threads)
-         childapp.ChildApp2.__init__(self, app)
-                 
-     def stop_event(self):
-         """
-         return the stop event send through the eventhandler
-         """
-         if self.exit_type == "End of file":
-             return PLAY_END
-         elif self.exit_type == "Quit":
-             return USER_END
-         else:
-             print _( 'ERROR' ) + ': ' + str(self.exit_type) + \
-                   _( 'unknow error while playing file' )
-             return PLAY_END
--- 292,293 ----



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to