comparison cfg-common.h @ 7180:28677d779205

-afm/-vfm migration from ID (int) to NAME (string) - simplifies code and makes dlopen()'ing possible
author arpi
date Fri, 30 Aug 2002 21:44:20 +0000
parents a193df8b275b
children 8669e56d2d98
comparison
equal deleted inserted replaced
7179:a258b9b7669e 7180:28677d779205
102 // disable audio 102 // disable audio
103 {"sound", &has_audio, CONF_TYPE_FLAG, 0, 0, 1, NULL}, 103 {"sound", &has_audio, CONF_TYPE_FLAG, 0, 0, 1, NULL},
104 {"nosound", &has_audio, CONF_TYPE_FLAG, 0, 1, 0, NULL}, 104 {"nosound", &has_audio, CONF_TYPE_FLAG, 0, 1, 0, NULL},
105 105
106 // select audio/video codec (by name) or codec family (by number): 106 // select audio/video codec (by name) or codec family (by number):
107 {"afm", &audio_family, CONF_TYPE_INT, CONF_MIN, 0, 22, NULL}, // keep ranges in sync 107 // {"afm", &audio_family, CONF_TYPE_INT, CONF_MIN, 0, 22, NULL}, // keep ranges in sync
108 {"vfm", &video_family, CONF_TYPE_INT, CONF_MIN, 0, 29, NULL}, // with codec-cfg.c 108 // {"vfm", &video_family, CONF_TYPE_INT, CONF_MIN, 0, 29, NULL}, // with codec-cfg.c
109 {"afm", &audio_fm, CONF_TYPE_STRING, 0, 0, 0, NULL},
110 {"vfm", &video_fm, CONF_TYPE_STRING, 0, 0, 0, NULL},
109 {"ac", &audio_codec, CONF_TYPE_STRING, 0, 0, 0, NULL}, 111 {"ac", &audio_codec, CONF_TYPE_STRING, 0, 0, 0, NULL},
110 {"vc", &video_codec, CONF_TYPE_STRING, 0, 0, 0, NULL}, 112 {"vc", &video_codec, CONF_TYPE_STRING, 0, 0, 0, NULL},
111 113
112 // postprocessing: 114 // postprocessing:
113 {"divxq", "Option -divxq has been renamed to -pp (postprocessing), use -pp !\n", 115 {"divxq", "Option -divxq has been renamed to -pp (postprocessing), use -pp !\n",