pitivi r1304 - trunk/pitivi
- From: edwardrv svn gnome org
- To: svn-commits-list gnome org
- Subject: pitivi r1304 - trunk/pitivi
- Date: Thu, 9 Oct 2008 06:57:52 +0000 (UTC)
Author: edwardrv
Date: Thu Oct 9 06:57:52 2008
New Revision: 1304
URL: http://svn.gnome.org/viewvc/pitivi?rev=1304&view=rev
Log:
utils : Fix 'minutes' for duration > 1 hour
Modified:
trunk/pitivi/utils.py
Modified: trunk/pitivi/utils.py
==============================================================================
--- trunk/pitivi/utils.py (original)
+++ trunk/pitivi/utils.py Thu Oct 9 06:57:52 2008
@@ -33,6 +33,7 @@
mins = sec / 60
sec = sec % 60
hours = mins / 60
+ mins = mins % 60
return "%02d:%02d:%02d.%03d" % (hours, mins, sec, ms)
def bin_contains(bin, element):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]