GNOME Bugzilla – Bug 624882
Add support for gst.Fraction property getters
Last modified: 2010-07-26 17:44:10 UTC
Everything is in the title, when I try to get the "aspect-ratio" property of an aspectratiocrop element, I get TypeError: unknown type GstFraction. You can reproduce the bug by doing: import gst t = gst.element_factory_make('aspectratiocrop') t.set_property( "aspect-ratio" , gst.Fraction(1,5)) t.get_property( "aspect-ratio" ) This will return: Traceback (most recent call last):
+ Trace 222945
I tried it with the ubuntu lucid package 0.10.19 and the latest code from git and I always get this same result.
Confirmed. I wonder how this one slipped through all these years.
commit e20157bda2efe24f0847d38dd5810428347169b2 Author: Alessandro Decina <alessandro.d@gmail.com> Date: Mon Jul 26 19:29:53 2010 +0200 gst: implement getters and setters for GST_TYPE_FRACTION properties. Fixes #624882.