Commit 4c08c339 authored by Christoph Reiter's avatar Christoph Reiter Committed by Thibault Saunier

overrides: Don't pass arguments to Boxed base class __init__() in Gst.Caps override.

This is needed since: https://git.gnome.org/browse/pygobject/commit/?id=3a2bfc8bf01fcae3863

https://bugzilla.gnome.org/show_bug.cgi?id=730596
parent 16979ed4
......@@ -78,6 +78,9 @@ class Caps(Gst.Caps):
raise TypeError("wrong arguments when creating GstCaps object")
def __init__(self, *args, **kwargs):
return super(Caps, self).__init__()
def __str__(self):
return self.to_string()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment