overrides: make Gst.Pad.link still return Gst.PadLinkReturn when successful

This commit is contained in:
Alessandro Decina 2012-10-15 09:56:43 +02:00
parent f08af0a173
commit 33541f1cd8

View file

@ -129,6 +129,7 @@ class Pad(Gst.Pad):
ret = Gst.Pad.link(self, pad)
if ret != Gst.PadLinkReturn.OK:
raise LinkError(ret)
return ret
Pad = override(Pad)
__all__.append('Pad')