Re-set volume explicitly to the current level whenever changing tracks.
Workaround for issue #886.
This commit is contained in:
parent
e0dd9bcb11
commit
9d931adf4a
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user