From f1105528981fc83c5dbf15f1c1d409fb8842a1ea Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 3 Jul 2016 18:33:28 +0200 Subject: sub: pass preferred OSD format to subtitle renderers The intention is to let mp_ass_packer_pack() produce different output for the RGBA and LIBASS formats. VOs (or whatever generates the OSD) currently do not signal a preferred format, and this mechanism just exists to switch between RGBA and LIBASS formats correctly, preferring LIBASS if the VO supports it. --- sub/osd_dummy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sub/osd_dummy.c') diff --git a/sub/osd_dummy.c b/sub/osd_dummy.c index d9c366e1ac..796d954c08 100644 --- a/sub/osd_dummy.c +++ b/sub/osd_dummy.c @@ -19,7 +19,7 @@ void osd_get_function_sym(char *buffer, size_t buffer_size, int osd_function) } void osd_object_get_bitmaps(struct osd_state *osd, struct osd_object *obj, - struct sub_bitmaps *out_imgs) + int format, struct sub_bitmaps *out_imgs) { *out_imgs = (struct sub_bitmaps) {0}; } -- cgit v1.2.3