changeset 5223:8c7b6ba2b5e9

splitted mp_msg_init and mp_msg_set_level
author alex
date Wed, 20 Mar 2002 15:38:13 +0000
parents 202fc9c7a372
children f992a01ecc0d
files mencoder.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Wed Mar 20 15:28:26 2002 +0000
+++ b/mencoder.c	Wed Mar 20 15:38:13 2002 +0000
@@ -106,7 +106,7 @@
 **************************************************************************/
 vo_vaa_t vo_vaa;
 int vo_doublebuffering;
-int vaa_use_dr;
+int vo_directrendering;
 
 //--------------------------
 
@@ -475,7 +475,8 @@
 //int out_buffer_size=0x200000;
 //unsigned char* out_buffer=malloc(out_buffer_size);
 
-  mp_msg_init(MSGL_STATUS);
+  mp_msg_init();
+  mp_msg_set_level(MSGL_STATUS);
   mp_msg(MSGT_CPLAYER,MSGL_INFO,"%s",banner_text);
 
 // check codec.conf
@@ -535,7 +536,7 @@
 	mencoder_exit(1,NULL);
   }
 
-  mp_msg_init(verbose+MSGL_STATUS);
+  mp_msg_set_level(verbose+MSGL_STATUS);
 
   stream=open_stream(filename,vcd_track,&file_format);