Call renamed callback

This commit is contained in:
Thomas Adamcik 2010-08-18 00:43:58 +02:00
parent d01813b72c
commit e66cf75d05

View File

@ -69,7 +69,7 @@ class LocalPlaybackController(BasePlaybackController):
def _message(self, bus, message):
if message.type == gst.MESSAGE_EOS:
self.end_of_track_callback()
self.on_end_of_track()
elif message.type == gst.MESSAGE_ERROR:
self._bin.set_state(gst.STATE_NULL)
error, debug = message.parse_error()