From 2b07d3eb473edf3670f2277be872973da3831f28 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 28 Nov 2015 19:24:31 +0100 Subject: osd: use the same ASS_Renderer for OSD text and progbar Reduces memory usage and startup times. The implementation is a bit weird, because both OSD parts have conflicting requirements on the used ASS styles. --- sub/osd_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sub/osd_state.h') diff --git a/sub/osd_state.h b/sub/osd_state.h index c3d4a6f295..30f04d8449 100644 --- a/sub/osd_state.h +++ b/sub/osd_state.h @@ -16,7 +16,7 @@ struct osd_object { // OSDTYPE_SUB/OSDTYPE_SUB2/OSDTYPE_OSD/OSDTYPE_EXTERNAL char *text; - // OSDTYPE_PROGBAR + // OSDTYPE_OSD struct osd_progbar_state progbar_state; // OSDTYPE_SUB/OSDTYPE_SUB2 -- cgit v1.2.3