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, 2 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h
index bd2a15d7d0..5c40e48674 100644
--- a/player/core.h
+++ b/player/core.h
@@ -187,7 +187,8 @@ typedef struct MPContext {
struct osd_progbar_state osd_progbar;
struct playlist *playlist;
- char *filename; // currently playing file
+ struct playlist_entry *playing; // currently playing file
+ char *filename; // always the same as playing->filename (or NULL)
struct mp_resolve_result *resolve_result;
enum stop_play_reason stop_play;
unsigned int initialized_flags; // which subsystems have been initialized