[gstreamer-bugs] [Bug 354883] New: GParamSpecs of type GUINT give G_MAXUINT as -1
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Sep 7 19:14:25 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=354883
GStreamer | gst-python | Ver: HEAD CVS
Summary: GParamSpecs of type GUINT give G_MAXUINT as -1
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: mail at renestadler.de
QAContact: johan at gnome.org
GNOME version: Unspecified
GNOME milestone: Unspecified
Taking a property of the "queue" element as an example:
$ gst-inspect-0.10 queue
[...]
Element Properties:
[...]
current-level-buffers: Current number of buffers in the queue
flags: readable
Unsigned Integer. Range: 0 - 4294967295 Default: 0
[...]
Trying the same introspection in python:
>>> import pygst; pygst.require ("0.10"); import gobject, gst
>>> specs = gobject.list_properties (gst.element_factory_make ("queue"))
>>> specs[1]
<GParamUInt 'current-level-buffers'>
>>> specs[1].maximum
-1
This is on a 32-bit platform, if that matters. GINTs seem to work ok, for
example textoverlay::deltax (min: -2147483648, max: 2147483647).
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list