Fix GStreamerPlaybackController with respect to test_end_of_track_callback_gets_called

This commit is contained in:
Thomas Adamcik 2010-04-06 21:10:34 +02:00
parent 37abe08d31
commit f9200893dd

View File

@ -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()