summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/player/core.h b/player/core.h
index c0a00e454b..9b9873e610 100644
--- a/player/core.h
+++ b/player/core.h
@@ -36,7 +36,6 @@ 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_RESTART, // restart previous file
PT_RELOAD_DEMUXER, // restart playback, but keep stream open
PT_QUIT, // stop playback, quit player
};
@@ -192,6 +191,7 @@ typedef struct MPContext {
int64_t shown_vframes, shown_aframes;
+ struct stream *stream; // stream that was initially opened
struct demuxer **sources;
int num_sources;
@@ -202,7 +202,6 @@ typedef struct MPContext {
int num_chapters;
double video_offset;
- struct stream *stream;
struct demuxer *demuxer;
struct track **tracks;