[Bug 726921] New: Python 3: Fraction cannot be set as value in Caps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Mar 23 07:26:12 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=726921
  GStreamer | gst-python | git

           Summary: Python 3: Fraction cannot be set as value in Caps
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lubosz at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


This minimal test fails with python3, but works with 2.

https://gist.github.com/lubosz/9723758

This exception is thrown:
RuntimeError: PyObject conversion to GValue failed

The same exception occurs in the overrides when this is used:
caps[0]["framerate"] = Gst.Fraction(1/1)

-- 
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