1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00

Add a msg type for the osd menu.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17948 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
albeu 2006-03-25 19:24:21 +00:00
parent d915b85253
commit 1939522650
2 changed files with 4 additions and 0 deletions

View File

@ -528,6 +528,7 @@ m_option_t msgl_config[]={
{ "afilter", &mp_msg_levels[MSGT_AFILTER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
{ "netst", &mp_msg_levels[MSGT_NETST], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
{ "muxer", &mp_msg_levels[MSGT_MUXER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
{ "osd-menu", &mp_msg_levels[MSGT_OSD_MENU], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
{"help", "Available msg modules:\n"
" global - common player errors/information\n"
" cplayer - console player (mplayer.c)\n"
@ -566,6 +567,7 @@ m_option_t msgl_config[]={
" sws\n"
" vobsub\n"
" subreader\n"
" osd-menu - OSD menu messages\n"
" afilter - Audio filter messages\n"
" netst - Netstream\n"
" muxer - muxer layer\n"

View File

@ -93,6 +93,8 @@ extern int identify;
#define MSGT_MUXER 39 // muxer layer
#define MSGT_OSD_MENU 40
#define MSGT_MAX 64
void mp_msg_init(void);