summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-02 14:38:03 +0200
committerwm4 <wm4@nowhere>2015-07-02 14:38:03 +0200
commita609877f00889a5cb5fe3e4e2877eec49cc90ab0 (patch)
tree5f5df4dfa14d685a6dd5471fb406826b5669d5ef /player/core.h
parenta9bbaa5eb29cae310ca8efd4f8d197de406683f7 (diff)
downloadmpv-a609877f00889a5cb5fe3e4e2877eec49cc90ab0.tar.bz2
mpv-a609877f00889a5cb5fe3e4e2877eec49cc90ab0.tar.xz
player: simplify reload logic
Instead of only reloading the demuxer, reopen the stream as well.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h
index 06d3a29734..907c997b96 100644
--- a/player/core.h
+++ b/player/core.h
@@ -37,7 +37,7 @@ enum stop_play_reason {
PT_NEXT_ENTRY, // prepare to play next entry in playlist
PT_CURRENT_ENTRY, // prepare to play mpctx->playlist->current
PT_STOP, // stop playback, clear playlist
- PT_RELOAD_DEMUXER, // restart playback, but keep stream open
+ PT_RELOAD_FILE, // restart playback
PT_QUIT, // stop playback, quit player
PT_ERROR, // play next playlist entry (due to an error)
};