diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-01-11 17:48:45 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-01-11 17:55:05 +0200 |
commit | a1692437d0a2cc88a2b3440bbcfb5e6f66cfd90e (patch) | |
tree | f3ce630d220edecfa5c476658a3bda2a65695ee8 /mp_core.h | |
parent | f95674fb6cbd459e6b484caf94b490b7efede9d5 (diff) | |
download | mpv-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |