From 2b4dca84ddc57c26b9cbaca84bda8c1420aa9fd6 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Tue, 23 May 2023 17:55:11 +0200 Subject: [PATCH] gst-python: overrides: provide default to Gst.init() Allows using Gst.init() as without the overrides, can be convenient. Fixes: https://gitlab.freedesktop.org/gstreamer/gst-python/-/issues/51 Part-of: --- subprojects/gst-python/gi/overrides/Gst.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-python/gi/overrides/Gst.py b/subprojects/gst-python/gi/overrides/Gst.py index 902f53192d..9a7fd341fc 100644 --- a/subprojects/gst-python/gi/overrides/Gst.py +++ b/subprojects/gst-python/gi/overrides/Gst.py @@ -730,7 +730,7 @@ def deinit_pygst(): setattr(cname_class[1], mname, fake_method) real_init = Gst.init -def init(argv): +def init(argv=None): init_pygst() if Gst.is_initialized():