mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
overrides: make Gst.Pad.link still return Gst.PadLinkReturn when successful
This commit is contained in:
parent
f08af0a173
commit
33541f1cd8
1 changed files with 1 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue