[gstreamer-bugs] [Bug 624882] New: Getting "aspect-ratio" of an aspectratiocrop returns: TypeError: unknown type GstFraction
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Jul 20 15:33:54 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=624882
GStreamer | gst-python | unspecified
Summary: Getting "aspect-ratio" of an aspectratiocrop returns:
TypeError: unknown type GstFraction
Classification: Desktop
Product: GStreamer
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: tsaunier at gnome.org
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
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):
File "<stdin>", line 1, in <module>
TypeError: unknown type GstFraction
I tried it with the ubuntu lucid package 0.10.19 and the latest code from git
and I always get this same result.
--
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