[Bug 695089] Cannot override certain functions in GstBase
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Aug 9 16:43:02 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=695089
--- Comment #7 from Thibault Saunier <tsaunier at gnome.org> ---
In the GObject case it is and ambiguity as if you have BClass subclass of
AClass and both define AClass.some_vmethod and BClass.some_vmethod, those are
different vmethods (different offset in the class structures etc) and calling
((AClass*) class_struct)->some_vmethod is different than calling (on the same
structure) ((BClass*) class_struct)->some_vmethod.
In the case of GstBaseSink::query, PyGobject can't know what a `do_query` wants
to override, GstBaseSink::query vmethod or GstElement::query, and overriding
one or another would lead to different behaviour.
--
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