Fix GStreamerPlaybackController with respect to test_end_of_track_callback_gets_called
This commit is contained in:
parent
37abe08d31
commit
f9200893dd
@ -51,7 +51,7 @@ class GStreamerPlaybackController(BasePlaybackController):
|
||||
|
||||
def _message(self, bus, message):
|
||||
if message.type == gst.MESSAGE_EOS:
|
||||
self.next()
|
||||
self.end_of_track_callback()
|
||||
elif message.type == gst.MESSAGE_ERROR:
|
||||
self._bin.set_state(gst.STATE_NULL)
|
||||
error, debug = message.parse_error()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user