summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-22 13:35:19 +0100
committerwm4 <wm4@nowhere>2012-11-22 15:27:02 +0100
commit11783b5edee8ce6efc8ee526433053afe3c14ed4 (patch)
tree10486570b3506eff7e724553b57c15964824ad6f /sub
parent86ad77d0db3bb4ab4b3995408d9e0f8ccbdf6a6d (diff)
downloadmpv-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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sub/sub.h b/sub/sub.h
index 205aa953d7..4fe052d8b2 100644
--- a/sub/sub.h
+++ b/sub/sub.h
@@ -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
};