overrides: make filter arg in Gst.Pad.query_caps(filter) default to None
authorAlessandro Decina <alessandro.d@gmail.com>
Mon, 15 Oct 2012 07:18:00 +0000 (09:18 +0200)
committerAlessandro Decina <alessandro.d@gmail.com>
Mon, 15 Oct 2012 07:29:06 +0000 (09:29 +0200)
gi/overrides/Gst.py

index c25e58c..a2f050b 100644 (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: