mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-28 01:58:19 +00:00
overrides: make filter arg in Gst.Pad.query_caps(filter) default to None
This commit is contained in:
parent
64db9c4771
commit
374a4b50da
1 changed files with 3 additions and 0 deletions
|
@ -122,6 +122,9 @@ class ElementFactory(Gst.ElementFactory):
|
||||||
return Gst.ElementFactory.make(factory_name, instance_name)
|
return Gst.ElementFactory.make(factory_name, instance_name)
|
||||||
|
|
||||||
class Pad(Gst.Pad):
|
class Pad(Gst.Pad):
|
||||||
|
def query_caps(self, filter=None):
|
||||||
|
return Gst.Pad.query_caps(self, filter)
|
||||||
|
|
||||||
def link(self, pad):
|
def link(self, pad):
|
||||||
ret = Gst.Pad.link(self, pad)
|
ret = Gst.Pad.link(self, pad)
|
||||||
if ret != Gst.PadLinkReturn.OK:
|
if ret != Gst.PadLinkReturn.OK:
|
||||||
|
|
Loading…
Reference in a new issue