diff options
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 17 |
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); |