summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-11 17:48:45 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-11 17:55:05 +0200
commita1692437d0a2cc88a2b3440bbcfb5e6f66cfd90e (patch)
treef3ce630d220edecfa5c476658a3bda2a65695ee8 /mp_core.h
parentf95674fb6cbd459e6b484caf94b490b7efede9d5 (diff)
downloadmpv-a1692437d0a2cc88a2b3440bbcfb5e6f66cfd90e.tar.bz2
mpv-a1692437d0a2cc88a2b3440bbcfb5e6f66cfd90e.tar.xz
core: move global "subdata" and "vo_sub_last" to mpctx
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