From 374a4b50dac1596929d44f12532635303208db8c Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Mon, 15 Oct 2012 09:18:00 +0200 Subject: [PATCH] overrides: make filter arg in Gst.Pad.query_caps(filter) default to None --- gi/overrides/Gst.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gi/overrides/Gst.py b/gi/overrides/Gst.py index c25e58c..a2f050b 100644 --- a/gi/overrides/Gst.py +++ b/gi/overrides/Gst.py @@ -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: -- 2.7.4