summaryrefslogtreecommitdiffstats
path: root/sub/osd_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'sub/osd_state.h')
-rw-r--r--sub/osd_state.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sub/osd_state.h b/sub/osd_state.h
index 3469f4383d..054a98775b 100644
--- a/sub/osd_state.h
+++ b/sub/osd_state.h
@@ -54,6 +54,7 @@ struct osd_object {
bool changed;
struct ass_state ass;
struct mp_ass_packer *ass_packer;
+ struct sub_bitmap_copy_cache *copy_cache;
struct ass_image **ass_imgs;
};
@@ -82,9 +83,9 @@ struct osd_state {
struct mp_draw_sub_cache *draw_cache;
};
-// defined in osd_libass.c and osd_dummy.c
-void osd_object_get_bitmaps(struct osd_state *osd, struct osd_object *obj,
- int format, struct sub_bitmaps *out_imgs);
+// defined in osd_libass.c
+struct sub_bitmaps *osd_object_get_bitmaps(struct osd_state *osd,
+ struct osd_object *obj, int format);
void osd_init_backend(struct osd_state *osd);
void osd_destroy_backend(struct osd_state *osd);