← Back to team overview

openshot.code team mailing list archive

[Branch ~openshot.code/openshot/main] Rev 599: Reverting a patch which always sets the numeric locale setting to C or POSIX (the default), which...

 

------------------------------------------------------------
revno: 599
fixes bug: https://launchpad.net/bugs/475073
committer: Jonathan Thomas <Jonathan.Oomph@xxxxxxxxx>
branch nick: openshot
timestamp: Sun 2012-01-01 17:40:53 -0600
message:
  Reverting a patch which always sets the numeric locale setting to C or POSIX (the default), which always uses a period instead of a comma for the decimal point.  This is causing regressions, such as audio being muted when it's not 100%.  The original reason we added this patch was to fix a bug with the affine filter, which is no longer needed.  It looks like upstream MLT has fixed the original issue.
modified:
  openshot/language/Language_Init.py


--
lp:openshot
https://code.launchpad.net/~openshot.code/openshot/main

Your team OpenShot Code is subscribed to branch lp:openshot.
To unsubscribe from this branch go to https://code.launchpad.net/~openshot.code/openshot/main/+edit-subscription
=== modified file 'openshot/language/Language_Init.py'
--- openshot/language/Language_Init.py	2011-09-29 16:04:35 +0000
+++ openshot/language/Language_Init.py	2012-01-01 23:40:53 +0000
@@ -82,7 +82,6 @@
 
 		# Set locale specific settings
 		locale.setlocale(locale.LC_ALL)
-		locale.setlocale(locale.LC_NUMERIC, 'POSIX')
 		locale.bindtextdomain("OpenShot", self.project.LOCALE_DIR)
 		locale.bind_textdomain_codeset("OpenShot", "UTF-8")