diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-31 16:20:07 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-31 16:20:07 +0000 |
commit | 1ff539f678a9571d5fdd5ecf18cc46bd67cd47cc (patch) | |
tree | a0869785c24dcfa4c6cb799cc417c35f3d32a442 | |
parent | 119841635b0f1ea66314abc1a4acd504f98f9283 (diff) | |
download | mpv-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
-rw-r--r-- | mp_msg.c | 5 | ||||
-rw-r--r-- | mplayer.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 @@ -1799,7 +1799,7 @@ if(time_frame>0.001 && !(vo_flags&256)){ AV_delay=(a_pts-delay-audio_delay)-v_pts; if(drop_frame_cnt>50+drop_message*250 && AV_delay>0.5){ ++drop_message; - mp_msg(MSGT_AVSYNC,MSGL_WARN,MSGTR_SystemTooSlow); + mp_msg(MSGT_AVSYNC,MSGL_ERR,MSGTR_SystemTooSlow); } x=AV_delay*0.1f; if(x<-max_pts_correction) x=-max_pts_correction; else |