mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4692>
This commit is contained in:
parent
e6d512a3b5
commit
2b4dca84dd
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue