[pitivi] Show framerates in presets.
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi] Show framerates in presets.
- Date: Tue, 12 May 2009 12:52:52 -0400 (EDT)
commit 9708bbf02e526990d1d8858926037a5f64c9d053
Author: Alessandro Decina <alessandro d gmail com>
Date: Tue May 12 17:46:42 2009 +0200
Show framerates in presets.
---
pitivi/ui/exportsettingswidget.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/pitivi/ui/exportsettingswidget.py b/pitivi/ui/exportsettingswidget.py
index 17bb5c0..b417223 100644
--- a/pitivi/ui/exportsettingswidget.py
+++ b/pitivi/ui/exportsettingswidget.py
@@ -97,8 +97,12 @@ class ExportSettingsWidget(GladeWidget, Loggable):
videolist = self.videocombobox.get_model()
videolist.clear()
+ fps_map = dict(((num, denom), desc)
+ for desc, num, denom in self.video_rates)
for preset in self.video_presets:
- videolist.append([preset[0]])
+ fps = preset[3:5]
+ videolist.append(["%s - %s" % (preset[0], fps_map[fps])])
+
videolist.append(["Custom"])
# find out from the project settings which combo to take
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]