summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mp_core.h b/mp_core.h
index 49cc81a8e1..153869d620 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -104,6 +104,8 @@ typedef struct MPContext {
struct timeline_part *timeline;
int num_timeline_parts;
int timeline_part;
+ // NOTE: even if num_chapters==0, chapters being not NULL signifies presence
+ // of chapter metadata
struct chapter *chapters;
int num_chapters;
double video_offset;