summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-17 21:55:23 +0100
committerwm4 <wm4@nowhere>2014-01-17 21:55:23 +0100
commitc47c59f2df6e3a394c0484d894136df8ebe10297 (patch)
treeac812f3a9b9f3d40697cc55c5ec3ef1bb66b273d /player/core.h
parent7e1bc6be000c1febb996b48ae2559a241e2ab993 (diff)
downloadmpv-c47c59f2df6e3a394c0484d894136df8ebe10297.tar.bz2
mpv-c47c59f2df6e3a394c0484d894136df8ebe10297.tar.xz
player: don't use OSD message stack for term OSD subs
Showing subtitles on terminal used the OSD message stack (which uses a stack to "pile up" messages that were displayed at the same time). This had a bunch of weird and annoying consequences. This accessed a certain osd_state field, which is a minor annoyance since I want to make that struct opaque. Implement this differently.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h
index 271f96595b..f99c23bdf9 100644
--- a/player/core.h
+++ b/player/core.h
@@ -162,6 +162,7 @@ typedef struct MPContext {
struct mp_osd_msg *osd_msg_stack;
char *term_osd_text;
char *term_osd_status;
+ char *term_osd_subs;
char *term_osd_contents;
char *last_window_title;