summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 9e66277b34..0b574c2462 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -89,6 +89,7 @@
#else
{"tv", "MPlayer was compiled without TV Interface support\n", CONF_TYPE_PRINT, 0, 0, 0},
#endif
+ {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0},
#else
@@ -114,4 +115,26 @@ struct config tvopts_conf[]={
};
#endif
+/* VIVO demuxer options: */
+extern char *vivo_param_acodec;
+extern int vivo_param_abitrate;
+extern int vivo_param_samplerate;
+extern int vivo_param_bytesperblock;
+extern int vivo_param_width;
+extern int vivo_param_height;
+extern int vivo_param_vformat;
+
+struct config vivoopts_conf[]={
+ /* audio options */
+ {"acodec", &vivo_param_acodec, CONF_TYPE_STRING, 0, 0, 0},
+ {"abitrate", &vivo_param_abitrate, CONF_TYPE_INT, 0, 0, 0},
+ {"samplerate", &vivo_param_samplerate, CONF_TYPE_INT, 0, 0, 0},
+ {"bytesperblock", &vivo_param_bytesperblock, CONF_TYPE_INT, 0, 0, 0},
+ /* video options */
+ {"width", &vivo_param_width, CONF_TYPE_INT, 0, 0, 0},
+ {"height", &vivo_param_height, CONF_TYPE_INT, 0, 0, 0},
+ {"vformat", &vivo_param_vformat, CONF_TYPE_INT, 0, 0, 0},
+ {NULL, NULL, 0, 0, 0, 0}
+};
+
#endif