diff options
Diffstat (limited to 'core/mp_core.h')
-rw-r--r-- | core/mp_core.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/core/mp_core.h b/core/mp_core.h index 39a05e0e3b..126c646a0b 100644 --- a/core/mp_core.h +++ b/core/mp_core.h @@ -52,8 +52,10 @@ enum stop_play_reason { enum exit_reason { EXIT_NONE, EXIT_QUIT, - EXIT_EOF, - EXIT_ERROR + EXIT_PLAYED, + EXIT_ERROR, + EXIT_NOTPLAYED, + EXIT_SOMENOTPLAYED }; struct timeline_part { @@ -135,7 +137,10 @@ typedef struct MPContext { unsigned int initialized_flags; // which subsystems have been initialized // Return code to use with PT_QUIT - int quit_player_rc; + enum exit_reason quit_player_rc; + int quit_custom_rc; + bool has_quit_custom_rc; + bool error_playing; struct demuxer **sources; int num_sources; |