Commit 1f26b4ad authored by Mark Nauwelaerts's avatar Mark Nauwelaerts Committed by Thibault Saunier

overrides: chain up to base __init__ in Pad override

parent 3ff39bb4
......@@ -98,10 +98,11 @@ Caps = override(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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment