[pitivi/ges: 120/287] Properly show the sample rate for audio in the Media Library



commit fea5b4143109133850f6b8d3a83bc72097f33346
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Tue Dec 27 15:14:46 2011 -0500

    Properly show the sample rate for audio in the Media Library

 pitivi/ui/common.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/common.py b/pitivi/ui/common.py
index 09379ff..8c217f6 100644
--- a/pitivi/ui/common.py
+++ b/pitivi/ui/common.py
@@ -116,7 +116,8 @@ def beautify_stream(stream):
         templ = ngettext("<b>Audio:</b> %d channel at %d <i>Hz</i> (%d <i>bits</i>)",
                 "<b>Audio:</b> %d channels at %d <i>Hz</i> (%d <i>bits</i>)",
                 stream.get_channels())
-        templ = templ % (stream.get_channels(), stream.get_bitrate(),
+        templ = templ % (stream.get_channels(),
+            stream.get_sample_rate(),
             stream.get_depth())
         return templ
 



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