From f5bfe01932b2895ad9b9faa8c04d8a1466dbeeb0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 8 Mar 2016 20:49:33 +0100 Subject: osd: refactor how mp_ass_render_frame() is called Instead of passing an explicit cache to the function, the res parameter is used. Also, instead of replacing its contents, sub bitmaps are now appended to it (all assuming the format doesn't actually change). This is preparation for the following commits. --- sub/ass_mp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sub/ass_mp.h') diff --git a/sub/ass_mp.h b/sub/ass_mp.h index 789a53acb1..b4cae24ddc 100644 --- a/sub/ass_mp.h +++ b/sub/ass_mp.h @@ -55,7 +55,7 @@ ASS_Library *mp_ass_init(struct mpv_global *global, struct mp_log *log); struct sub_bitmap; struct sub_bitmaps; void mp_ass_render_frame(ASS_Renderer *renderer, ASS_Track *track, double time, - struct sub_bitmap **parts, struct sub_bitmaps *res); + struct sub_bitmaps *res); #endif /* HAVE_LIBASS */ #endif /* MPLAYER_ASS_MP_H */ -- cgit v1.2.3