summaryrefslogtreecommitdiffstats
path: root/sub/draw_bmp.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-05-13 20:07:59 +0200
committerwm4 <wm4@nowhere>2020-05-13 20:07:59 +0200
commitbaabd5fce33d4f85de30477e1aa60b2fc6c02abd (patch)
tree59d64c1d346303df2c236d3063e8ca77ddd09a4a /sub/draw_bmp.h
parent6d8b3f9333892e5bc282438995d457f1e05b0498 (diff)
downloadmpv-baabd5fce33d4f85de30477e1aa60b2fc6c02abd.tar.bz2
mpv-baabd5fce33d4f85de30477e1aa60b2fc6c02abd.tar.xz
draw_bmp: use command line options for any used scalers
Diffstat (limited to 'sub/draw_bmp.h')
-rw-r--r--sub/draw_bmp.h3
1 files changed, 2 insertions, 1 deletions
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).