changeset 23095:9561da3cdc3a

make -really-quiet hide the mencoder version tags. patch copied from michael
author compn
date Wed, 25 Apr 2007 13:47:06 +0000
parents 0057530b1ffc
children e22b666f1ede
files mencoder.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Wed Apr 25 08:40:43 2007 +0000
+++ b/mencoder.c	Wed Apr 25 13:47:06 2007 +0000
@@ -413,6 +413,11 @@
 audio_encoder_t *aencoder = NULL;
 
   mp_msg_init();
+
+  for(i=1; i<argc; i++)
+    if(!strcmp(argv[i], "-really-quiet"))
+      verbose= -10;
+
   mp_msg(MSGT_CPLAYER,MSGL_INFO, "MEncoder " VERSION " (C) 2000-2007 MPlayer Team\n");
 
   /* Test for cpu capabilities (and corresponding OS support) for optimizing */