From 6cbfe86677b108181deb756ecf8276fe9521f691 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Mon, 8 Feb 2016 00:21:33 +0100 Subject: [PATCH] gst1: Send in an argument to Gst.init As of gst-python 1.5.2, the init call requires one argument. The argument is a list of the command line options. I don't think we need to send any. This relates to #1432. --- mopidy/internal/gi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/internal/gi.py b/mopidy/internal/gi.py index 1407a657..fb9af0c9 100644 --- a/mopidy/internal/gi.py +++ b/mopidy/internal/gi.py @@ -22,7 +22,7 @@ except ImportError: """)) raise else: - Gst.is_initialized() or Gst.init() + Gst.is_initialized() or Gst.init([]) REQUIRED_GST_VERSION = (1, 2, 3)