aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_encoder.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-21 23:01:04 +0200
committerMax Kellermann <max@duempel.org>2009-10-21 23:01:04 +0200
commit9526fdbe730edb4b095a1e12aade0e16f1da2292 (patch)
tree4544e77bf35e08a12d2b019e0bf3942754b85b96 /test/run_encoder.c
parenta5c4566fa1551953b84882a1fa53400c7bd6551c (diff)
downloadmpd-9526fdbe730edb4b095a1e12aade0e16f1da2292.tar.gz
mpd-9526fdbe730edb4b095a1e12aade0e16f1da2292.tar.xz
mpd-9526fdbe730edb4b095a1e12aade0e16f1da2292.zip
audio_format: wildcards allowed in audio_format configuration
An asterisk means that this attribute should not be enforced, and stays whatever it used to be. This way, some configuration values work like masks.
Diffstat (limited to '')
-rw-r--r--test/run_encoder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/run_encoder.c b/test/run_encoder.c
index 787fb03cf..b953bcd9a 100644
--- a/test/run_encoder.c
+++ b/test/run_encoder.c
@@ -86,7 +86,8 @@ int main(int argc, char **argv)
/* open the encoder */
if (argc > 2) {
- ret = audio_format_parse(&audio_format, argv[2], &error);
+ ret = audio_format_parse(&audio_format, argv[2],
+ false, &error);
if (!ret) {
g_printerr("Failed to parse audio format: %s\n",
error->message);