Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
53605c9a
Commit
53605c9a
authored
Aug 04, 2009
by
Olivier Aubert
Browse files
python-ctypes: in app mode, quit on end-of-stream
parent
60fb88bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
bindings/python-ctypes/footer.py
View file @
53605c9a
...
...
@@ -76,7 +76,7 @@ if __name__ == '__main__':
p
.
play
()
e
=
p
.
event_manager
()
e
.
event_attach
(
EventType
.
MediaPlayer
Stopp
ed
,
end_callback
,
None
)
e
.
event_attach
(
EventType
.
MediaPlayer
EndReach
ed
,
end_callback
,
None
)
def
print_info
():
"""Print information about the media."""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment