Update gstreamer.py

This commit is contained in:
chrys87 2016-07-26 16:08:00 +02:00 committed by GitHub
parent efd302bf16
commit 94db5d4be3

View File

@ -10,8 +10,6 @@ else:
_gstreamerAvailable, args = Gst.init_check(None) _gstreamerAvailable, args = Gst.init_check(None)
class sound: class sound:
"""Plays Icons and Tones."""
def __init__(self): def __init__(self):
self._initialized = False self._initialized = False
self._source = None self._source = None
@ -55,7 +53,6 @@ class sound:
GLib.timeout_add(duration, self._onTimeout, self._pipeline) GLib.timeout_add(duration, self._onTimeout, self._pipeline)
def init(self): def init(self):
"""(Re)Initializes the Player."""
if self._initialized: if self._initialized:
return return
if not _gstreamerAvailable: if not _gstreamerAvailable: