[pitivi] SingleDecodeBin: fix not-linked error when element is reused



commit c425a4a35b1ce1317d8b1333e6b04a298d127e42
Author: Renà Stadler <rene stadler collabora co uk>
Date:   Thu May 3 15:18:35 2012 +0200

    SingleDecodeBin: fix not-linked error when element is reused
    
    My previous fix for the parser endless loop issue broke this; we need to re-set
    the blacklist on PAUSED->READY state change.

 pitivi/elements/singledecodebin.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/elements/singledecodebin.py b/pitivi/elements/singledecodebin.py
index 3deede0..7792d89 100644
--- a/pitivi/elements/singledecodebin.py
+++ b/pitivi/elements/singledecodebin.py
@@ -392,6 +392,7 @@ class SingleDecodeBin(gst.Bin):
             element.set_state(gst.STATE_NULL)
             self.remove(element)
         self._validelements = []
+        self._usedfactories = []
 
     ## Overrides
 



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