Mercurial > mplayer.hg
comparison cfg-common.h @ 3502:1ff0ff94ac91
added -vivo subconfig
author | alex |
---|---|
date | Sat, 15 Dec 2001 16:44:54 +0000 |
parents | fac2acb51706 |
children | 7aed2edd99ab |
comparison
equal
deleted
inserted
replaced
3501:685b85faefc8 | 3502:1ff0ff94ac91 |
---|---|
87 #ifdef USE_TV | 87 #ifdef USE_TV |
88 {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0}, | 88 {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0}, |
89 #else | 89 #else |
90 {"tv", "MPlayer was compiled without TV Interface support\n", CONF_TYPE_PRINT, 0, 0, 0}, | 90 {"tv", "MPlayer was compiled without TV Interface support\n", CONF_TYPE_PRINT, 0, 0, 0}, |
91 #endif | 91 #endif |
92 {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0}, | |
92 | 93 |
93 #else | 94 #else |
94 | 95 |
95 #include "config.h" | 96 #include "config.h" |
96 | 97 |
112 {"fps", &tv_param_fps, CONF_TYPE_FLOAT, 0, 0, 100.0}, | 113 {"fps", &tv_param_fps, CONF_TYPE_FLOAT, 0, 0, 100.0}, |
113 {NULL, NULL, 0, 0, 0, 0} | 114 {NULL, NULL, 0, 0, 0, 0} |
114 }; | 115 }; |
115 #endif | 116 #endif |
116 | 117 |
118 /* VIVO demuxer options: */ | |
119 extern char *vivo_param_acodec; | |
120 extern int vivo_param_abitrate; | |
121 extern int vivo_param_samplerate; | |
122 extern int vivo_param_bytesperblock; | |
123 extern int vivo_param_width; | |
124 extern int vivo_param_height; | |
125 extern int vivo_param_vformat; | |
126 | |
127 struct config vivoopts_conf[]={ | |
128 /* audio options */ | |
129 {"acodec", &vivo_param_acodec, CONF_TYPE_STRING, 0, 0, 0}, | |
130 {"abitrate", &vivo_param_abitrate, CONF_TYPE_INT, 0, 0, 0}, | |
131 {"samplerate", &vivo_param_samplerate, CONF_TYPE_INT, 0, 0, 0}, | |
132 {"bytesperblock", &vivo_param_bytesperblock, CONF_TYPE_INT, 0, 0, 0}, | |
133 /* video options */ | |
134 {"width", &vivo_param_width, CONF_TYPE_INT, 0, 0, 0}, | |
135 {"height", &vivo_param_height, CONF_TYPE_INT, 0, 0, 0}, | |
136 {"vformat", &vivo_param_vformat, CONF_TYPE_INT, 0, 0, 0}, | |
137 {NULL, NULL, 0, 0, 0, 0} | |
138 }; | |
139 | |
117 #endif | 140 #endif |