Re-set volume explicitly to the current level whenever changing tracks.

Workaround for issue #886.
This commit is contained in:
jcass 2015-02-03 18:30:56 +02:00
parent e0dd9bcb11
commit 9d931adf4a

View File

@ -320,7 +320,9 @@ class Audio(pykka.ThreadingActor):
:param uri: the URI to play
:type uri: string
"""
current_volume = self.get_volume()
self._playbin.set_property('uri', uri)
self.set_volume(current_volume)
def set_appsrc(
self, caps, need_data=None, enough_data=None, seek_data=None):