[Bug 681217] New: TypeError: unknown type GstFraction

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Aug 4 21:21:00 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=681217
  GStreamer | gstreamer (core) | git

           Summary: TypeError: unknown type GstFraction
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: jderose at novacut.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list