summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-03-09 23:18:19 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-03-09 23:18:19 +0200
commitc31aa7b9536db6db0523c93fbcd701665ca5ac58 (patch)
tree67e024d3bcfaeb39a22f18a4ee76ce37a0a5a23c /mp_core.h
parentad43180c1617d24bf53f07b952b28f381ea8c758 (diff)
parent8a67379319806dedf421f5bf217091084baab573 (diff)
downloadmpv-c31aa7b9536db6db0523c93fbcd701665ca5ac58.tar.bz2
mpv-c31aa7b9536db6db0523c93fbcd701665ca5ac58.tar.xz
Merge svn change r30560
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mp_core.h b/mp_core.h
index bd8a4aee99..5c0b48d285 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -58,12 +58,12 @@ enum stop_play_reason {
PT_STOP,
};
-typedef enum {
+enum exit_reason {
EXIT_NONE,
EXIT_QUIT,
EXIT_EOF,
EXIT_ERROR
-} exit_reason_t;
+};
struct content_source {
struct stream *stream;
@@ -203,7 +203,7 @@ void uninit_player(struct MPContext *mpctx, unsigned int mask);
void reinit_audio_chain(struct MPContext *mpctx);
void init_vo_spudec(struct MPContext *mpctx);
double playing_audio_pts(struct MPContext *mpctx);
-void exit_player_with_rc(struct MPContext *mpctx, exit_reason_t how, int rc);
+void exit_player_with_rc(struct MPContext *mpctx, enum exit_reason how, int rc);
void add_subtitles(struct MPContext *mpctx, char *filename, float fps, int noerr);
int reinit_video_chain(struct MPContext *mpctx);
void pause_player(struct MPContext *mpctx);