changeset 17947:c33dc00f0946

Add a msg type for the osd menu.
author albeu
date Sat, 25 Mar 2006 19:24:21 +0000
parents 0afe12256464
children 6ff3bdf986b8
files cfg-common.h mp_msg.h
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Sat Mar 25 18:15:37 2006 +0000
+++ b/cfg-common.h	Sat Mar 25 19:24:21 2006 +0000
@@ -528,6 +528,7 @@
 	{ "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 @@
         "   sws\n"
         "   vobsub\n"
         "   subreader\n"
+        "   osd-menu   - OSD menu messages\n"
         "   afilter    - Audio filter messages\n"
         "   netst      - Netstream\n"
         "   muxer      - muxer layer\n"
--- a/mp_msg.h	Sat Mar 25 18:15:37 2006 +0000
+++ b/mp_msg.h	Sat Mar 25 19:24:21 2006 +0000
@@ -93,6 +93,8 @@
 
 #define MSGT_MUXER 39 // muxer layer
 
+#define MSGT_OSD_MENU 40
+
 #define MSGT_MAX 64
 
 void mp_msg_init(void);