overrides: make Gst.Pad.link still return Gst.PadLinkReturn when successful
authorAlessandro Decina <alessandro.d@gmail.com>
Mon, 15 Oct 2012 07:56:43 +0000 (09:56 +0200)
committerAlessandro Decina <alessandro.d@gmail.com>
Mon, 15 Oct 2012 07:56:43 +0000 (09:56 +0200)
gi/overrides/Gst.py

index a2f050b..fd57ce4 100644 (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')