From 44f9201e79515a862d7f618ac483ca7101c08269 Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Mon, 10 Nov 2014 00:02:03 -0300 Subject: [PATCH] Initialize Gst before use speech In sugar gst was initialized at startup, now we need initialize Gst in the speech code. --- src/sugar3/speech.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sugar3/speech.py b/src/sugar3/speech.py index 9edf0b06..b62031c6 100644 --- a/src/sugar3/speech.py +++ b/src/sugar3/speech.py @@ -227,6 +227,7 @@ class _GstSpeechPlayer(GObject.GObject): } def __init__(self): + Gst.init(None) GObject.GObject.__init__(self) self._pipeline = None self._all_voices = None