diff options
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h index 9b9873e610..32c6b45db6 100644 --- a/player/core.h +++ b/player/core.h @@ -38,6 +38,7 @@ enum stop_play_reason { PT_STOP, // stop playback, clear playlist PT_RELOAD_DEMUXER, // restart playback, but keep stream open PT_QUIT, // stop playback, quit player + PT_ERROR, // play next playlist entry (due to an error) }; enum exit_reason { @@ -186,7 +187,7 @@ typedef struct MPContext { enum exit_reason quit_player_rc; int quit_custom_rc; bool has_quit_custom_rc; - bool error_playing; + int error_playing; char **resume_defaults; int64_t shown_vframes, shown_aframes; |