summaryrefslogtreecommitdiffstats
path: root/sub/sub.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-08-08 05:59:23 +0300
committerUoti Urpala <uau@mplayer2.org>2011-08-08 05:59:23 +0300
commit9920d6465068cdef068eddba4cf51e75d89b65ba (patch)
treef7a58ee6ab523e9d8ce0643d61098b90b9363901 /sub/sub.h
parentd843c9ca3844c36abbe77b12cb6ebfede5589126 (diff)
downloadmpv-9920d6465068cdef068eddba4cf51e75d89b65ba.tar.bz2
mpv-9920d6465068cdef068eddba4cf51e75d89b65ba.tar.xz
cleanup: move global ass_force_reload to struct osd_state
Diffstat (limited to 'sub/sub.h')
-rw-r--r--sub/sub.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sub/sub.h b/sub/sub.h
index 90a742f8e7..30a7919aa1 100644
--- a/sub/sub.h
+++ b/sub/sub.h
@@ -70,6 +70,8 @@ typedef struct mp_osd_obj_s {
struct osd_state {
struct ass_library *ass_library;
+ // flag to signal reinitialization due to ass-related option changes
+ bool ass_force_reload;
unsigned char osd_text[128];
struct font_desc *sub_font;
struct ass_track *ass_track;