From 1b667f61baba1328e45a5c33fe4a6343787c4b4a Mon Sep 17 00:00:00 2001 From: arpi Date: Fri, 30 Aug 2002 21:44:20 +0000 Subject: -afm/-vfm migration from ID (int) to NAME (string) - simplifies code and makes dlopen()'ing possible git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7181 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-common.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cfg-common.h') diff --git a/cfg-common.h b/cfg-common.h index ea1f0e7599..e50f2bb44e 100644 --- a/cfg-common.h +++ b/cfg-common.h @@ -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}, -- cgit v1.2.3