GstPushSrc.do_create and Gst.BaseSrc.do_query are not introspected properly in bindings (Python)
Submitted by César Fabián Orccón Chipana
Link to original bug (#780945)
Description
Created attachment 349314
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.
Patch 349314, "Add annotations to vfuncs in base sources":
0001-Add-annotations-to-vfuncs-in-base-sources.patch