mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
overrides: chain up to base __init__ in Pad override
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=757108
This commit is contained in:
parent
3ff39bb485
commit
1f26b4ad2b
1 changed files with 2 additions and 1 deletions
|
@ -98,10 +98,11 @@ Caps = override(Caps)
|
|||
__all__.append('Caps')
|
||||
|
||||
class Pad(Gst.Pad):
|
||||
def __init__(self):
|
||||
def __init__(self, *args, **kwargs):
|
||||
self._real_chain_func = None
|
||||
self._real_event_func = None
|
||||
self._real_query_func = None
|
||||
super(Gst.Pad, self).__init__(*args, **kwargs)
|
||||
|
||||
def _chain_override(self, pad, parent, buf):
|
||||
return self._real_chain_func(pad, buf)
|
||||
|
|
Loading…
Reference in a new issue