overrides: make filter arg in Gst.Pad.query_caps(filter) default to None

This commit is contained in:
Alessandro Decina 2012-10-15 09:18:00 +02:00
parent 64db9c4771
commit 374a4b50da

View file

@ -122,6 +122,9 @@ class ElementFactory(Gst.ElementFactory):
return Gst.ElementFactory.make(factory_name, instance_name)
class Pad(Gst.Pad):
def query_caps(self, filter=None):
return Gst.Pad.query_caps(self, filter)
def link(self, pad):
ret = Gst.Pad.link(self, pad)
if ret != Gst.PadLinkReturn.OK: