pitivi r1360 - trunk/pitivi/elements



Author: edwardrv
Date: Mon Nov  3 12:29:33 2008
New Revision: 1360
URL: http://svn.gnome.org/viewvc/pitivi?rev=1360&view=rev

Log:
SingleDecodeBin: Only cleanup when going from PAUSED to READY

Modified:
   trunk/pitivi/elements/singledecodebin.py

Modified: trunk/pitivi/elements/singledecodebin.py
==============================================================================
--- trunk/pitivi/elements/singledecodebin.py	(original)
+++ trunk/pitivi/elements/singledecodebin.py	Mon Nov  3 12:29:33 2008
@@ -287,7 +287,7 @@
     def do_change_state(self, transition):
         self.debug("transition:%r" % transition)
         res = gst.Bin.do_change_state(self, transition)
-        if transition in [gst.STATE_CHANGE_PAUSED_TO_READY, gst.STATE_CHANGE_READY_TO_NULL]:
+        if transition == gst.STATE_CHANGE_PAUSED_TO_READY:
             self._cleanUp()
         return res
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]