summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-17 22:34:47 +0100
committerwm4 <wm4@nowhere>2014-01-17 22:34:47 +0100
commit49ebbce3e049c7f8fba0c001d1e70994e2473eee (patch)
tree677447594b77cf0f6778f43839c5adf6d2ce7938 /player/core.h
parenta0a2ea8713bcd1b0ed35eaaaa93625e973480563 (diff)
downloadmpv-49ebbce3e049c7f8fba0c001d1e70994e2473eee.tar.bz2
mpv-49ebbce3e049c7f8fba0c001d1e70994e2473eee.tar.xz
player: remove OSD message IDs
These were needed before the last commit, but now they don't do anything anymore. (They were used to decide whether to replace or stack the previous OSD message when a new one was displayed.)
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/player/core.h b/player/core.h
index 2c6b41d745..edfdaec2e1 100644
--- a/player/core.h
+++ b/player/core.h
@@ -80,19 +80,6 @@ enum mp_osd_seek_info {
enum {
- OSD_MSG_TEXT = 1,
- OSD_MSG_SUB_DELAY,
- OSD_MSG_SPEED,
- OSD_MSG_OSD_STATUS,
- OSD_MSG_BAR,
- OSD_MSG_PAUSE,
- OSD_MSG_RADIO_CHANNEL,
- OSD_MSG_TV_CHANNEL,
-
- // Base id for messages generated from the commmand to property bridge.
- OSD_MSG_PROPERTY = 0x100,
- OSD_MSG_SUB_BASE = 0x1000,
-
// other constants
MAX_OSD_LEVEL = 3,
MAX_TERM_OSD_LEVEL = 1,
@@ -414,8 +401,8 @@ void stream_dump(struct MPContext *mpctx);
void print_status(struct MPContext *mpctx);
void set_osd_bar(struct MPContext *mpctx, int type, const char* name,
double min, double max, double val);
-void set_osd_msg(struct MPContext *mpctx, int id, int level, int time,
- const char* fmt, ...) PRINTF_ATTRIBUTE(5,6);
+void set_osd_msg(struct MPContext *mpctx, int level, int time,
+ const char* fmt, ...) PRINTF_ATTRIBUTE(4,5);
void set_osd_function(struct MPContext *mpctx, int osd_function);
void set_osd_subtitle(struct MPContext *mpctx, const char *text);