diff options
Diffstat (limited to 'sub/sub.h')
-rw-r--r-- | sub/sub.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -75,13 +75,15 @@ struct osd_state { bool ass_force_reload; int w, h; char *osd_text; - struct ass_renderer *osd_render; - struct font_desc *sub_font; struct ass_track *ass_track; double pts; double sub_offset; bool ass_track_changed; bool vsfilter_aspect; + + struct ass_renderer *osd_render; + struct ass_library *osd_ass_library; + struct MPOpts *opts; }; @@ -161,7 +163,7 @@ void osd_draw_text_ext(struct osd_state *osd, int dxs, int dys, int stride), void *ctx); -struct osd_state *osd_create(struct MPOpts *opts); +struct osd_state *osd_create(struct MPOpts *opts, struct ass_library *asslib); void osd_set_text(struct osd_state *osd, const char *text); int osd_update(struct osd_state *osd, int dxs, int dys); void vo_osd_changed(int new_value); |