Mercurial > mplayer.hg
diff 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 |
line wrap: on
line diff
--- a/cfg-common.h Fri Aug 30 21:30:59 2002 +0000 +++ b/cfg-common.h Fri Aug 30 21:44:20 2002 +0000 @@ -104,8 +104,10 @@ {"nosound", &has_audio, CONF_TYPE_FLAG, 0, 1, 0, NULL}, // select audio/video codec (by name) or codec family (by number): - {"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_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}, {"ac", &audio_codec, CONF_TYPE_STRING, 0, 0, 0, NULL}, {"vc", &video_codec, CONF_TYPE_STRING, 0, 0, 0, NULL},