summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mp_core.h b/mp_core.h
index 00b8fa91ef..f8b286e5b9 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -88,6 +88,9 @@ typedef struct MPContext {
struct mp_fifo *key_fifo;
struct input_ctx *input;
struct osd_state *osd;
+ struct sub_data *subdata; // current sub_data style subtitles if any
+ // last sub_data style sub line if any, used by log_sub() only
+ struct subtitle *vo_sub_last;
bool add_osd_seek_info;
// if nonzero, hide current OSD contents when GetTimerMS() reaches this