diff options
author | wm4 <wm4@nowhere> | 2012-11-22 13:35:19 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-22 15:27:02 +0100 |
commit | 11783b5edee8ce6efc8ee526433053afe3c14ed4 (patch) | |
tree | 10486570b3506eff7e724553b57c15964824ad6f /sub | |
parent | 86ad77d0db3bb4ab4b3995408d9e0f8ccbdf6a6d (diff) | |
download | mpv-11783b5edee8ce6efc8ee526433053afe3c14ed4.tar.bz2 mpv-11783b5edee8ce6efc8ee526433053afe3c14ed4.tar.xz |
osd: fix z-order of subtitle OSD elements
Subs should always be below OSD (meaning they have to be drawn first).
Diffstat (limited to 'sub')
-rw-r--r-- | sub/sub.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -85,11 +85,12 @@ struct mp_osd_res { enum mp_osdtype { OSDTYPE_SUB, - OSDTYPE_OSD, OSDTYPE_SUBTITLE, - OSDTYPE_PROGBAR, OSDTYPE_SPU, + OSDTYPE_PROGBAR, + OSDTYPE_OSD, + MAX_OSD_PARTS }; |