[Bug 695089] New: Cannot override certain functions in GstBase
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Mar 3 14:22:43 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=695089
GStreamer | gst-python | 1.0.5
Summary: Cannot override certain functions in GstBase
Classification: Platform
Product: GStreamer
Version: 1.0.5
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: takeda at takeda.tk
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Here is smallest code that reproduces the issue. Similar code did not cause
issues in 0.10.
>>> import gi
>>> gi.require_version('Gst', '1.0')
>>> from gi.repository import GstBase
>>> class E(GstBase.BaseSink):
... def do_query(self,query):
... pass
...
/usr/lib64/python2.7/site-packages/gi/_gobject/__init__.py:119: Warning:
g_param_spec_boxed: assertion `G_TYPE_IS_BOXED (boxed_type)' failed
type_register(cls, namespace.get('__gtype_name__'))
/usr/lib64/python2.7/site-packages/gi/_gobject/__init__.py:119: Warning:
g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed
type_register(cls, namespace.get('__gtype_name__'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/gi/types.py", line 222, in __init__
cls._setup_vfuncs()
File "/usr/lib64/python2.7/site-packages/gi/types.py", line 154, in
_setup_vfuncs
ambiguous_base.__info__.get_name()))
TypeError: Method do_query() on class GstBase.BaseSink is ambiguous with
methods in base classes GstBase.BaseSink and Gst.Element
--
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