[Bug 780945] New: GstPushSrc.do_create and Gst.BaseSrc.do_query are not introspected properly in bindings (Python)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 5 17:58:00 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=780945

            Bug ID: 780945
           Summary: GstPushSrc.do_create and Gst.BaseSrc.do_query are not
                    introspected properly in bindings (Python)
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: cfoch.fabian at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 349314
  --> https://bugzilla.gnome.org/attachment.cgi?id=349314&action=edit
Add annotations to vfuncs in base sources

For example,
When you use "do_create" vfunc in Python for a GstBaseSrc, you need to define
the following method:

def do_create(self, buff):
    # Implementation here

But what you actually should do is
def do_create(self):
    # Implementation here
    return buff

I am uploading a patch that fixes that.


PD: I also think that all vfuncs should be annotated.

-- 
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