[pitivi/ges: 121/287] ui/common: increase the precision of video framerates
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges: 121/287] ui/common: increase the precision of video framerates
- Date: Thu, 15 Mar 2012 16:36:00 +0000 (UTC)
commit f9d5f0421f6a7f0abd0b411f5ef70c444c91aa00
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Tue Dec 27 15:20:19 2011 -0500
ui/common: increase the precision of video framerates
pitivi/ui/common.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/common.py b/pitivi/ui/common.py
index 8c217f6..9670486 100644
--- a/pitivi/ui/common.py
+++ b/pitivi/ui/common.py
@@ -124,7 +124,7 @@ def beautify_stream(stream):
elif type(stream) == gst.pbutils.DiscovererVideoInfo:
par = stream.get_par_num() / stream.get_par_denom()
if not stream.is_image():
- templ = _(u"<b>Video:</b> %dÃ%d <i>pixels</i> at %.2f<i>fps</i>")
+ templ = _(u"<b>Video:</b> %dÃ%d <i>pixels</i> at %.3f <i>fps</i>")
templ = templ % (par * stream.get_width(), stream.get_height(),
float(stream.get_framerate_num()) / stream.get_framerate_denom())
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]