diff cfg-common.h @ 7506:c1cb94198e05

-vc/-vfm accepts codec/driver _list_ now. empty list element for -vc means *, ie search all codecs. codec name starting with - disables the codec.
author arpi
date Thu, 26 Sep 2002 01:31:18 +0000
parents b062be2c1423
children aa1a1249f239
line wrap: on
line diff
--- a/cfg-common.h	Thu Sep 26 01:28:32 2002 +0000
+++ b/cfg-common.h	Thu Sep 26 01:31:18 2002 +0000
@@ -107,9 +107,9 @@
 //	{"afm", &audio_family, CONF_TYPE_INT, CONF_MIN, 0, 22, NULL}, // keep ranges in sync
 //	{"vfm", &video_family, CONF_TYPE_INT, CONF_MIN, 0, 29, NULL}, // with codec-cfg.c
 	{"afm", &audio_fm, CONF_TYPE_STRING, 0, 0, 0, NULL},
-	{"vfm", &video_fm, CONF_TYPE_STRING, 0, 0, 0, NULL},
+	{"vfm", &video_fm_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
 	{"ac", &audio_codec, CONF_TYPE_STRING, 0, 0, 0, NULL},
-	{"vc", &video_codec, CONF_TYPE_STRING, 0, 0, 0, NULL},
+	{"vc", &video_codec_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
 
 	// postprocessing:
 	{"divxq", "Option -divxq has been renamed to -pp (postprocessing), use -pp !\n",