# HG changeset patch # User arpi # Date 1030810807 0 # Node ID 9d11474c39af530339958b16049e89fa83cd8cb7 # Parent eee464fa02c1c71d02b33e0b211247237490e52f WARNING message gui windows disabled, the only critical warn message (too slow) moved to ERROR diff -r eee464fa02c1 -r 9d11474c39af mp_msg.c --- a/mp_msg.c Sat Aug 31 15:59:10 2002 +0000 +++ b/mp_msg.c Sat Aug 31 16:20:07 2002 +0000 @@ -69,9 +69,14 @@ 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 diff -r eee464fa02c1 -r 9d11474c39af mplayer.c --- a/mplayer.c Sat Aug 31 15:59:10 2002 +0000 +++ b/mplayer.c Sat Aug 31 16:20:07 2002 +0000 @@ -1799,7 +1799,7 @@ 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