summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-15 16:44:54 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-15 16:44:54 +0000
commit1fc41f6a2b62b51bba1a55649bdf39ced40d6a3b (patch)
tree90707fdd3d299bd48ed0611f1381311f775c2f99 /cfg-common.h
parentbc32c588bcfba96a2ad28da829fbf986412803dc (diff)
downloadmpv-1fc41f6a2b62b51bba1a55649bdf39ced40d6a3b.tar.bz2
mpv-1fc41f6a2b62b51bba1a55649bdf39ced40d6a3b.tar.xz
added -vivo subconfig
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3503 b3059339-0415-0410-9bf9-f77b7e298cf2
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