aboutsummaryrefslogtreecommitdiffhomepage
path: root/cfg-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h9
1 files changed, 9 insertions, 0 deletions
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;