osd: fix z-order of subtitle OSD elements

Subs should always be below OSD (meaning they have to be drawn first).
This commit is contained in:
wm4 2012-11-22 13:35:19 +01:00
parent 86ad77d0db
commit 11783b5ede
1 changed files with 3 additions and 2 deletions

View File

@ -85,11 +85,12 @@ struct mp_osd_res {
enum mp_osdtype { enum mp_osdtype {
OSDTYPE_SUB, OSDTYPE_SUB,
OSDTYPE_OSD,
OSDTYPE_SUBTITLE, OSDTYPE_SUBTITLE,
OSDTYPE_PROGBAR,
OSDTYPE_SPU, OSDTYPE_SPU,
OSDTYPE_PROGBAR,
OSDTYPE_OSD,
MAX_OSD_PARTS MAX_OSD_PARTS
}; };