[pitivi: 4/10] factories/base.py: fix bug preventing scaling when project settings change



commit b6709851c7a358848841ff89c65ab9f3b03c0562
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date:   Wed Mar 3 17:23:32 2010 -0800

    factories/base.py: fix bug preventing scaling when project settings change

 pitivi/factories/base.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/factories/base.py b/pitivi/factories/base.py
index e6cfa8b..33ee6e7 100644
--- a/pitivi/factories/base.py
+++ b/pitivi/factories/base.py
@@ -479,7 +479,7 @@ class SourceFactory(ObjectFactory):
     def setFilterCaps(self, caps):
         self._filtercaps = caps
         for b in self.bins:
-            if hasattr(b, "filter"):
+            if hasattr(b, "scale"):
                 b.scale.set_caps(caps)
                 b.scale._computeAndSetValues()
 



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