[pitivi/ges: 130/287] Fix the resolution and framerate parsing in the Media Library



commit b7fcd7cbd27c524e05ceb2b34a266e49188bd78f
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Tue Dec 27 15:08:54 2011 -0500

    Fix the resolution and framerate parsing in the Media Library

 pitivi/ui/common.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/ui/common.py b/pitivi/ui/common.py
index a88c2cc..a8af122 100644
--- a/pitivi/ui/common.py
+++ b/pitivi/ui/common.py
@@ -116,8 +116,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_sample_rate(),
+        templ = templ % (stream.get_channels(), stream.get_bitrate(),
             stream.get_depth())
         return templ
 



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