changeset 5221:533a58023392

splitted mp_msg_init and mp_msg_set_level
author alex
date Wed, 20 Mar 2002 15:22:48 +0000
parents 4afbe13150e6
children 202fc9c7a372
files mplayer.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Wed Mar 20 15:14:59 2002 +0000
+++ b/mplayer.c	Wed Mar 20 15:22:48 2002 +0000
@@ -505,7 +505,8 @@
 
 //vo_tune_info_t vtune;
 
-  mp_msg_init(MSGL_STATUS);
+  mp_msg_init();
+  mp_msg_set_level(MSGL_STATUS);
 
   mp_msg(MSGT_CPLAYER,MSGL_INFO,banner_text);
 //  memset(&vtune,0,sizeof(vo_tune_info_t));
@@ -640,7 +641,7 @@
       printf("\n");
     }
 
-    mp_msg_init(verbose+MSGL_STATUS);
+    mp_msg_set_level(verbose+MSGL_STATUS);
 
 //------ load global data first ------