GNOME Bugzilla – Bug 532809
gst-python version of gst.Fraction doesn't simplify
Last modified: 2008-05-14 16:02:50 UTC
gst-python overrides gst.Fraction with a pure-python implementation, but one which doesn't behave quite the same as the C fraction GValue in that it doesn't implicitly simplify the fraction after each operation. Attaching patch for python dudes' inspection
Created attachment 110784 [details] [review] simpilfy fractions in python
2008-05-14 Edward Hervey <edward.hervey@collabora.co.uk> Patch by: Jan Schmidt <thaytan at mad dot scientist dot com> * gst/__init__.py: Make gst.Fraction simplify like the C counterpart Fixes #532809