[Mplayer-cvslog] CVS: main mp_msg.c,1.20,1.21 mplayer.c,1.560,1.561

Arpi of Ize arpi at mplayerhq.hu
Sat Aug 31 18:20:10 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv10783

Modified Files:
	mp_msg.c mplayer.c 
Log Message:
WARNING message gui windows disabled, the only critical warn message (too
slow) moved to ERROR


Index: mp_msg.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp_msg.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- mp_msg.c	31 Aug 2002 14:54:00 -0000	1.20
+++ mp_msg.c	31 Aug 2002 16:20:07 -0000	1.21
@@ -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

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.560
retrieving revision 1.561
diff -u -r1.560 -r1.561
--- mplayer.c	31 Aug 2002 15:59:09 -0000	1.560
+++ mplayer.c	31 Aug 2002 16:20:07 -0000	1.561
@@ -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




More information about the MPlayer-cvslog mailing list