From baabd5fce33d4f85de30477e1aa60b2fc6c02abd Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 May 2020 20:07:59 +0200 Subject: draw_bmp: use command line options for any used scalers --- sub/draw_bmp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sub/draw_bmp.h') diff --git a/sub/draw_bmp.h b/sub/draw_bmp.h index d54a1c7685..90e0ef6368 100644 --- a/sub/draw_bmp.h +++ b/sub/draw_bmp.h @@ -5,9 +5,10 @@ struct mp_rect; struct mp_image; +struct mpv_global; struct mp_draw_sub_cache; -struct mp_draw_sub_cache *mp_draw_sub_alloc(void *ta_parent); +struct mp_draw_sub_cache *mp_draw_sub_alloc(void *ta_parent, struct mpv_global *g); // Render the sub-bitmaps in sbs_list to dst. sbs_list must have been rendered // for an OSD resolution equivalent to dst's size (UB if not). -- cgit v1.2.3