[pitivi] limit maximum volume amplification to 200% of original



commit 6ff6778aa5381ea21f0817919dcd3026054d60e7
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date:   Tue Aug 18 12:47:01 2009 -0700

    limit maximum volume amplification to 200% of original
    closes bug 589820

 pitivi/factories/file.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/factories/file.py b/pitivi/factories/file.py
index 3db5675..d14a01d 100644
--- a/pitivi/factories/file.py
+++ b/pitivi/factories/file.py
@@ -47,7 +47,7 @@ class FileSourceFactory(RandomAccessSourceFactory):
         props = RandomAccessSourceFactory.getInterpolatedProperties(self, 
             stream)
         if isinstance(stream, AudioStream):
-            props.update({"volume" : (0.0, 5.0)})
+            props.update({"volume" : (0.0, 2.0)})
         elif isinstance(stream, VideoStream):
             props.update({"alpha" : None})
         return props



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