From 53605c9a7ba1769951d20eeb2a3cb1ade02c4ea0 Mon Sep 17 00:00:00 2001 From: Olivier Aubert Date: Tue, 4 Aug 2009 16:48:30 +0200 Subject: [PATCH] python-ctypes: in app mode, quit on end-of-stream --- bindings/python-ctypes/footer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python-ctypes/footer.py b/bindings/python-ctypes/footer.py index d17eaa9165..f0e3008203 100644 --- a/bindings/python-ctypes/footer.py +++ b/bindings/python-ctypes/footer.py @@ -76,7 +76,7 @@ if __name__ == '__main__': p.play() e=p.event_manager() - e.event_attach(EventType.MediaPlayerStopped, end_callback, None) + e.event_attach(EventType.MediaPlayerEndReached, end_callback, None) def print_info(): """Print information about the media.""" -- 2.39.5