comparison cfg-common.h @ 2790:98769cea155c

added tv subsystem
author alex
date Fri, 09 Nov 2001 23:46:06 +0000
parents 9d0a638e211a
children 09d5c9834580
comparison
equal deleted inserted replaced
2789:7023bf2ff439 2790:98769cea155c
1 1 #ifdef MAIN_CONF /* this will be included in conf[] */
2 // ------------------------- stream options -------------------- 2 // ------------------------- stream options --------------------
3 3
4 #ifdef USE_STREAM_CACHE 4 #ifdef USE_STREAM_CACHE
5 {"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 4, 65536}, 5 {"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 4, 65536},
6 #else 6 #else
77 {"oldpp", &use_old_pp, CONF_TYPE_FLAG, 0, 0, 1}, 77 {"oldpp", &use_old_pp, CONF_TYPE_FLAG, 0, 0, 1},
78 #else 78 #else
79 {"oldpp", "MPlayer was compiled without opendivx library", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, 79 {"oldpp", "MPlayer was compiled without opendivx library", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
80 #endif 80 #endif
81 81
82 #ifdef USE_TV
83 {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0},
84 #endif
85
86 #else
87
88 #include "config.h"
89
90 #ifdef USE_TV
91 #include "libmpdemux/tv.h"
92
93 struct config tvopts_conf[]={
94 {"on", &tv_param_on, CONF_TYPE_FLAG, 0, 0, 1},
95 {"driver", &tv_param_driver, CONF_TYPE_STRING, 0, 0, 0},
96 {"device", &tv_param_device, CONF_TYPE_STRING, 0, 0, 0},
97 {"freq", &tv_param_freq, CONF_TYPE_FLOAT, CONF_RANGE, 0, 2500000},
98 {"channel", &tv_param_channel, CONF_TYPE_STRING, 0, 0, 0},
99 {"norm", &tv_param_norm, CONF_TYPE_STRING, 0, 0, 0},
100 {"width", &tv_param_width, CONF_TYPE_INT, 0, 0, 4096},
101 {"height", &tv_param_height, CONF_TYPE_INT, 0, 0, 4096},
102 {NULL, NULL, 0, 0, 0, 0}
103 };
104 #endif
105
106 #endif