From a609877f00889a5cb5fe3e4e2877eec49cc90ab0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 2 Jul 2015 14:38:03 +0200 Subject: player: simplify reload logic Instead of only reloading the demuxer, reopen the stream as well. --- player/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/core.h') 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) }; -- cgit v1.2.3