Comment 11 for bug 475073

Revision history for this message
Jonathan Thomas (jonoomph) wrote :

Here is an email that I sent to Dan about this issue. I was able to get a reproducible example, and it seems related to the GTK library. I have attached my example.

----------------------------
Hi Dan!
I have a very strange bug related to the affine filter, locales that use commas for decimals, and the gtk library. This might sound bizarre, but I have a reproducible example for you.

The example is a simple logo.png file that is being rotated by the affine filter.

$ python play.py (This syntax works great, assuming your locale is not comma based)
$ LANG=es_ES python play.py (This syntax moves the center of the rotation off the screen, at the very bottom, with the corners rotating into view)

If, you open up the "play.py" file, and comment out the "import gtk" line, it will work correctly.

For example:
import mlt
import time
import sys
#import gtk

I have verified the example works correctly with "melt", and only seems related to importing the gtk library when using Python. Any thoughts on this strange issue? I'm sure it's something simple... at least I hope it's something simple. =) I will keep investigating the gtk library, and see if I am not setting some locale specific property. If you have any ideas, I would love to hear them.

Thanks as always!
-Jonathan