]> git.parisson.com Git - timeside.git/commitdiff
bugfix
authoryomguy <yomguy@parisson.com>
Thu, 17 Feb 2011 14:56:08 +0000 (14:56 +0000)
committeryomguy <yomguy@parisson.com>
Thu, 17 Feb 2011 14:56:08 +0000 (14:56 +0000)
timeside/analyzer/max_level.py

index b97c9e217f404687ab273d9a6e2786b9782c805c..6bcad1a37f54f3bb7f288b5dd1848ecb020fda14 100644 (file)
@@ -52,10 +52,8 @@ class MaxLevel(Processor):
     def process(self, frames, eod=False):
         max = round(20*numpy.log(frames.max()), 3)
         if max > self.value:
-            self.max_value = max
+            self.value = max
         return frames, eod
 
     def result(self):
         return self.value
-
-