[vlc-devel] commit: python-ctypes: in app mode, quit on end-of-stream (Olivier Aubert )

git version control git at videolan.org
Tue Aug 4 17:17:10 CEST 2009


vlc | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Tue Aug  4 16:48:30 2009 +0200| [53605c9a7ba1769951d20eeb2a3cb1ade02c4ea0] | committer: Olivier Aubert 

python-ctypes: in app mode, quit on end-of-stream

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=53605c9a7ba1769951d20eeb2a3cb1ade02c4ea0
---

 bindings/python-ctypes/footer.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bindings/python-ctypes/footer.py b/bindings/python-ctypes/footer.py
index d17eaa9..f0e3008 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."""




More information about the vlc-devel mailing list