summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-28 02:23:20 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-28 02:23:20 +0000
commitdbf0fe78c631aa786c54afe7fbb1ee63c359a0b0 (patch)
treec0a5c20701f23da143ef9b0d12ec2b78b49c5dc0 /cfg-common.h
parent7f62a29ed9126ba3d55f45476f42510ca98beed7 (diff)
downloadmpv-dbf0fe78c631aa786c54afe7fbb1ee63c359a0b0.tar.bz2
mpv-dbf0fe78c631aa786c54afe7fbb1ee63c359a0b0.tar.xz
-ac/-afm rewrite, now works the same way as -vc/-vfm
including audio codec fallbacks if init failed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7523 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 7b36eb5e74..17e9ef2131 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -106,9 +106,11 @@
// 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_fm, CONF_TYPE_STRING, 0, 0, 0, NULL},
+// {"afm", &audio_fm, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"afm", &audio_fm_list, CONF_TYPE_STRING_LIST, 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},
+// {"ac", &audio_codec, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"ac", &audio_codec_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
{"vc", &video_codec_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
// postprocessing: