From 333832e130e01e62b7534e9e2edd485bfb884368 Mon Sep 17 00:00:00 2001 From: attila Date: Thu, 29 Jan 2004 12:01:26 +0000 Subject: * changes mencoder's exit code on explicit kill to 2 * add quiet/noquiet to mencoder * dont depend targets on themselfs patch by Oswald Buddenhagen additionaly moved quiet/noquiet and v/verbose to cfg-common.h git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11876 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-common.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cfg-common.h') diff --git a/cfg-common.h b/cfg-common.h index a1dbafc31b..0ef98d971c 100644 --- a/cfg-common.h +++ b/cfg-common.h @@ -1,5 +1,11 @@ #ifdef MAIN_CONF /* this will be included in conf[] */ +// ------------------------- common optionss -------------------- + {"quiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL}, + {"noquiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL}, + {"verbose", &verbose, CONF_TYPE_INT, CONF_RANGE|CONF_GLOBAL, 0, 100, NULL}, + {"v", cfg_inc_verbose, CONF_TYPE_FUNC, CONF_GLOBAL|CONF_NOSAVE, 0, 0, NULL}, + // ------------------------- stream options -------------------- #ifdef USE_STREAM_CACHE @@ -266,6 +272,9 @@ #include "config.h" +extern int quiet; +extern int verbose; + // codec/filter opts: (defiend at libmpcodecs/vd.c) extern float screen_size_xy; extern float movie_aspect; -- cgit v1.2.3