summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authorods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-06 08:42:48 +0000
committerods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-06 08:42:48 +0000
commit5aac28ec24961c7e02c4a2e7085e641a3a4b78c7 (patch)
treede6fbe5806cddfd8d6714ff28857726ce9f3f767 /mencoder.c
parent6455d918ad65a7427107a0e5d5b45d4bfdf6653d (diff)
downloadmpv-5aac28ec24961c7e02c4a2e7085e641a3a4b78c7.tar.bz2
mpv-5aac28ec24961c7e02c4a2e7085e641a3a4b78c7.tar.xz
new -msglevel option, constrols msg level for every msg module
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17107 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mencoder.c b/mencoder.c
index 1898c4e058..ec27dacc25 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -140,6 +140,9 @@ double cur_video_time_usage=0;
double cur_vout_time_usage=0;
int benchmark=0;
+int mp_msg_levels[MSGT_MAX]; // inited to -2
+int mp_msg_level_all = MSGL_STATUS;
+
#ifdef WIN32
char * proc_priority=NULL;
#endif
@@ -402,7 +405,6 @@ audio_encoding_params_t aparams;
audio_encoder_t *aencoder = NULL;
mp_msg_init();
- mp_msg_set_level(MSGL_STATUS);
mp_msg(MSGT_CPLAYER,MSGL_INFO, "MEncoder " VERSION " (C) 2000-2005 MPlayer Team\n");
/* Test for cpu capabilities (and corresponding OS support) for optimizing */
@@ -463,8 +465,6 @@ if(!codecs_file || !parse_codec_cfg(codecs_file)){
filelist = m_config_parse_me_command_line(mconfig, argc, argv);
if(!filelist) mencoder_exit(1, MSGTR_ErrorParsingCommandLine);
- mp_msg_set_level(verbose+MSGL_STATUS);
-
if (frameno_filename) {
stream2=open_stream(frameno_filename,0,&i);
if(stream2){