Reset to ready state before playing
This commit is contained in:
parent
dda2fe05a3
commit
62be30df04
@ -69,6 +69,7 @@ class GStreamerPlaybackController(BasePlaybackController):
|
||||
elif playlist.tracks:
|
||||
self.current_track = playlist.tracks[0]
|
||||
|
||||
self.bin.set_state(gst.STATE_READY)
|
||||
self.bin.set_property("uri", self.current_track.uri)
|
||||
self.bin.set_state(gst.STATE_PLAYING)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user