[gstreamer-bugs] [Bug 339279] [gst.URIHandler] interfaces with class-global virtual methods

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Sep 19 07:03:30 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=339279

  GStreamer | gst-python | Ver: HEAD CVS

Jan Schmidt changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thaytan at mad.scientist.com




------- Comment #11 from Jan Schmidt  2007-09-19 14:03 UTC -------
How does pyGObject handle implementing class functions?

It would be easy enough to add new URIHandler vmethods
get_type_full/get_protocols_full that take the GType as a parameter, for
example.

As you mentioned, they can't take the instance, because GstElementFactory needs
to call them before there is actually an instance of the type, so they are
definitely class methods.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=339279.




More information about the Gstreamer-bugs mailing list