diff options
Diffstat (limited to 'mpvcore/player/mp_core.h')
-rw-r--r-- | mpvcore/player/mp_core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mpvcore/player/mp_core.h b/mpvcore/player/mp_core.h index 9827387e2c..21ce0ba3cb 100644 --- a/mpvcore/player/mp_core.h +++ b/mpvcore/player/mp_core.h @@ -308,6 +308,11 @@ typedef struct MPContext { int last_chapter_seek; double last_chapter_pts; + /* Subtitle renderer. This is separate, because we want to keep fonts + * loaded across ordered chapters, instead of reloading and rescanning + * them on each transition. (Both of these objects contain this state.) + */ + struct ass_renderer *ass_renderer; struct ass_library *ass_library; int last_dvb_step; |