summaryrefslogtreecommitdiffstats
path: root/mpvcore/playlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/playlist.h')
-rw-r--r--mpvcore/playlist.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mpvcore/playlist.h b/mpvcore/playlist.h
index fcf04929ac..17a5cf6a9b 100644
--- a/mpvcore/playlist.h
+++ b/mpvcore/playlist.h
@@ -33,6 +33,12 @@ struct playlist_entry {
struct playlist_param *params;
int num_params;
+
+ // Set to true if playback didn't seem to work, or if the file could be
+ // played only for a very short time. This is used to make playlist
+ // navigation just work in case the user has unplayable files in the
+ // playlist.
+ bool playback_failed;
};
struct playlist {