GNOME Bugzilla – Bug 681217
TypeError: unknown type GstFraction
Last modified: 2012-08-05 11:05:05 UTC
Found this testing Gst.Structure.foreach(). Currently there isn't annotation for Gst.Fraction and so trying to use foreach on caps with a framerate or pixel-aspect-ratio gives you an error like this: TypeError: unknown type GstFraction I have a small test script here: http://bazaar.launchpad.net/~jderose/+junk/gst-examples/view/head:/caps-1.0 I'm not sure if g-i and PyGI have a suitable mappings for something like Gst.Fraction yet.
I don't think gst.Fraction actually exists in GStreamer, I think it was a gst-python extension. I ended up pulling it out of gst-python and putting a copy in Transmageddon: http://git.gnome.org/browse/transmageddon/tree/src/gstfraction.py
*** This bug has been marked as a duplicate of bug 680913 ***