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.
This commit is contained in:
wm4
2015-11-28 19:24:31 +01:00
parent 73e0d545ce
commit 2b07d3eb47
4 changed files with 43 additions and 32 deletions

View File

@@ -82,7 +82,6 @@ enum mp_osdtype {
OSDTYPE_SUB,
OSDTYPE_SUB2, // IDs must be numerically successive
OSDTYPE_PROGBAR,
OSDTYPE_OSD,
OSDTYPE_EXTERNAL,