Initialize Gst before use speech

In sugar gst was initialized at startup, now we need initialize Gst
in the speech code.
This commit is contained in:
Gonzalo Odiard 2014-11-10 00:02:03 -03:00 committed by Martin Abente Lahaye
parent 31d8de55a7
commit 44f9201e79

View File

@ -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