summaryrefslogtreecommitdiffstats
path: root/mp_msg.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-31 16:20:07 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-31 16:20:07 +0000
commit1ff539f678a9571d5fdd5ecf18cc46bd67cd47cc (patch)
treea0869785c24dcfa4c6cb799cc417c35f3d32a442 /mp_msg.c
parent119841635b0f1ea66314abc1a4acd504f98f9283 (diff)
downloadmpv-1ff539f678a9571d5fdd5ecf18cc46bd67cd47cc.tar.bz2
mpv-1ff539f678a9571d5fdd5ecf18cc46bd67cd47cc.tar.xz
WARNING message gui windows disabled, the only critical warn message (too
slow) moved to ERROR git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7206 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_msg.c')
-rw-r--r--mp_msg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mp_msg.c b/mp_msg.c
index 5ffa3a46ac..361327aa49 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -69,9 +69,14 @@ void mp_msg_c( int x, const char *format, ... ){
case MSGL_ERR:
gtkMessageBox(GTK_MB_ERROR|GTK_MB_SIMPLE, tmp);
break;
+#if 0
+// WARNING! Do NOT enable this! There are too many non-critical messages with
+// MSGL_WARN, for example: broken SPU packets, codec's bit error messages,
+// etc etc, they should not raise up a new window every time.
case MSGL_WARN:
gtkMessageBox(GTK_MB_WARNING|GTK_MB_SIMPLE, tmp);
break;
+#endif
}
}
#endif