summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-03 19:23:09 +0200
committerwm4 <wm4@nowhere>2015-07-03 19:28:01 +0200
commitfc79fd0474494f40a7c86df1e6e9448c61a56a6d (patch)
treef129a767518c5ddc633e4fcfa04d3497aa4092e6
parent514af9fbd1e27b3cfd27598cc85c29d8159b89a0 (diff)
downloadmpv-fc79fd0474494f40a7c86df1e6e9448c61a56a6d.tar.bz2
mpv-fc79fd0474494f40a7c86df1e6e9448c61a56a6d.tar.xz
ao: don't pass along AO arguments when redirecting
Only causes problems.
-rw-r--r--audio/out/ao.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c
index abf50b6b81..45dbbcf9c0 100644
--- a/audio/out/ao.c
+++ b/audio/out/ao.c
@@ -191,7 +191,7 @@ static struct ao *ao_init(bool probing, struct mpv_global *global,
snprintf(rdevice, sizeof(rdevice), "%s", ao->device ? ao->device : "");
talloc_free(ao);
return ao_init(probing, global, input_ctx, encode_lavc_ctx,
- samplerate, format, channels, rdevice, redirect, args);
+ samplerate, format, channels, rdevice, redirect, NULL);
}
goto fail;
}