[pitivi] ui: Do not mixup bitrate and samplerate



commit 223f41e9ab8128a9496a93f4e9259796411bec60
Author: Thibault Saunier <thibault saunier collabora com>
Date:   Fri Aug 30 21:09:00 2013 -0400

    ui: Do not mixup bitrate and samplerate

 pitivi/utils/ui.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/utils/ui.py b/pitivi/utils/ui.py
index 7e9e2ab..d09213d 100644
--- a/pitivi/utils/ui.py
+++ b/pitivi/utils/ui.py
@@ -212,7 +212,7 @@ 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]